Edvardas1

Sveiki gal kas turi scriptu.

Recommended Posts


COOMAND:ginklai(playerid,params[])

{

if(playerDB[playerid][admin])

{

GivePlayerWeapon(playerid, 22 , 100);

GivePlayerWeapon(playerid, 23 , 100);

GivePlayerWeapon(playerid, 32 , 100);

SendClientMessage(playerid,RAUDONA,"Gavai <<<<<< ADMINISTRATORIAUS >>>>>> GINKLØ");

}

return true;

}

if(!strcmp(cmdtext, "/bendradarbiai", true,14))

{

if(playerDB[playerid][specialybe]==0)

{

SendClientMessage(playerid,RED,"* Jus niekur nedirbate");

return 1;

}

new msg[128], x, did;

new vardas[MAX_PLAYER_NAME];

if(playerDB[playerid][specialybe] == 1)( did = 1);

else if(playerDB[playerid][specialybe] == 2)( did = 2);

else if(playerDB[playerid][specialybe] == 7)( did = 7);

else if(playerDB[playerid][specialybe] == 3)( did = 3);

else if(playerDB[playerid][specialybe] == 15)( did = 15);

else if(playerDB[playerid][specialybe] == 17)( did = 17);

else if(playerDB[playerid][specialybe] == 19)( did = 19);

else if(playerDB[playerid][specialybe] == 6)( did = 6);

else if(playerDB[playerid][specialybe] == 44)( did = 44);

else if(playerDB[playerid][specialybe] == 20)( did = 20);

else if(playerDB[playerid][specialybe] == 11)( did = 11);

else if(playerDB[playerid][specialybe] == 10)( did = 10);

else if(playerDB[playerid][specialybe] == 25)( did = 25);

else if(playerDB[playerid][specialybe] == 18)( did = 18);

else if(playerDB[playerid][specialybe] == 21)( did = 21);

else if(playerDB[playerid][specialybe] == 13)( did = 13);

else if(playerDB[playerid][specialybe] == 66)( did = 66);

else if(playerDB[playerid][specialybe] == 76)( did = 76);

for(new i = 0; i

{

if(playerDB[specialybe] == did && IsPlayerConnected(i))

{

x++;

GetPlayerName(i,vardas,MAX_PLAYER_NAME);

format(msg,256,"%i. %s %i xp.",x,vardas,GetPlayerScore(i));

ShowPlayerDialog(playerid,11112,DIALOG_STYLE_MSGBOX,"Prisijunge Bendradarbiai",msg,"Iðeiti","Iðeiti");

}

}

return 1;

}

if(!strcmp(cmdtext, "/atimtiginklus", true,14))

{

if(playerDB[playerid][specialybe]!=1 && playerDB[playerid][specialybe]!=40){SendClientMessage(playerid,COLOR,"* Si komanda tik policininkams"); return 1;}

new vardas[MAX_PLAYER_NAME];

strmid(vardas,GetArgument(1, cmdtext,0),0,MAX_PLAYER_NAME);

if(!strcmp(vardas, "0", true) ){SendClientMessage(playerid, BLUE, "* Atimti ginklus: /atimtiginklus [dalis vardo]"); return 1;}

new id = GetPlayeridMid(vardas);

if (id == INVALID_PLAYER_ID){ SendClientMessage(playerid, RED, "* Tokio zaidejo nera"); return 1;}

new Float:Coo[3];

GetPlayerPos(id,Coo[0],Coo[1],Coo[2]);

if(!PlayerToPoint(3, playerid, Coo[0],Coo[1],Coo[2])){SendClientMessage(playerid, RED, "* Zaidejas per toli, prieikite arciau."); return 1;}

new msg[128],police[MAX_PLAYER_NAME];

GetPlayerName(playerid,police,sizeof(police));

GetPlayerName(id,vardas,sizeof(vardas));

ResetPlayerWeapons(id);

format(msg,sizeof(msg),"[racija] %s: Atemiau ginklus is %s.",police,vardas);

SendMessageToCops(BLUE,msg);

return 1;

}

if(strcmp(cmdtext, "/x", true)==0)

{

new msg[128];

new playername[MAX_PLAYER_NAME];

GetPlayerName(playerid, playername, sizeof(playername));

format(msg,sizeof(msg),"{FF7600}Reporteris %s : %s",playername,cmdtext);

SendClientMessageToAll(GREEN,msg);

GivePlayerMoneyA(playerid,-300);

return 1;

}

Dalintis šį pranešimą


Nuoroda iki šio pranešimo
Dalintis per kitą puslapį

Prisijungti prie diskusijos

Palikti atsakymą galite iš karto, o užsiregistruoti vėliau. Jeigu jau turite paskyrą mūsų forume, Prisijunkite.

Svečias
Atsakyti Å¡ioje temoje...

×   Ä®klijuotas tekstas turi teksto formatavimą.   PaÅ¡alinti teksto formatavimą

  Galimi tik 75 veidukai.

×   Nuoroda buvo automatiÅ¡kai įterpta.   Ä®terpti nuorodą paprastai

×   JÅ«sų ankstesnis praneÅ¡imas buvo atkurtas.   IÅ¡valyti redaktorių

×   You cannot paste images directly. Upload or insert images from URL.


  • Å iame puslapyje narÅ¡o:   0 nariai

    Nėra registruotų narių peržiūrinčių šį forumą.

  • eneba
  • eneba
  • eneba



  • SuperGames programele
  • SuperGames programele