Peršokti į turinį
  • ┼ŻAIDIMAI
  • , ┼ŻAIDIMAI
  • ┼ŻAIDIMAI

/bendradarbiai


*MaC*

┼ái tema yra neaktyvi. Paskutinis prane┼íimas ┼íioje temoje buvo prie┼í 3979 dienas (-┼│). Patariame sukurti nauj─ů tem─ů, o ne ra┼íyti nauj─ů prane┼íim─ů.

U┼ż neaktyvi┼│ tem┼│ prik─Ślim─ů galite sulaukti ─»sp─Śjimo ir prane┼íimo pa┼íalinimo!

Recommended Posts

Sveiki dar kart─ů, ┼íiandien ─»d─Śsi┼│ skript─ů, kuris palengvins darbuotojui. Jis para┼í─Ös komand─ů /bendradarbiai, pa┼żiur─Śs/pamatys, savo bendradarbius kurie yra prisijung─Ö.

Po public OnPlayerCommandText(playerid, cmdtext[]) dedame tok─» kod─ů:

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] == 8)( did = 8);

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

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

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

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

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);

SendClientMessage(playerid, GREEN,"Prisijunge bendradarbiai:");

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

SendClientMessage(playerid,GREY,msg);

}

}

return 1;

}

Jei padejau Nepagailek +rep :)

Nuoroda ─» komentar─ů
Dalintis per kit─ů puslap─»

  • Para┼í─Ś po 2 savai─Źi┼│...

┼ái tema yra neaktyvi. Paskutinis prane┼íimas ┼íioje temoje buvo prie┼í 3979 dienas (-┼│). Patariame sukurti nauj─ů tem─ů, o ne ra┼íyti nauj─ů prane┼íim─ů.

U┼ż neaktyvi┼│ tem┼│ prik─Ślim─ů galite sulaukti ─»sp─Śjimo ir prane┼íimo pa┼íalinimo!

Sve─Źias
┼ái tema yra u┼żrakinta.
  • ┼áiame puslapyje nar┼ío:   0 nariai

    • N─Śra registruot┼│ nari┼│ per┼żi┼źrin─Źi┼│ ┼í─» forum─ů.

├Ś
├Ś
  • Sukurti nauj─ů...