[Pomoc]/members(/clanovi) komanda

Započeo ...Nikola..., Jun 29, 2011, 18:51:05 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Skripta koju koristim: FactionGame
Detaljan opis problema: da li moze neko da mi napravi primer da pise Ime: %s Rank: %s evo dole komande
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno): /
if(strcmp(cmd,"/clanovi",true)==0)
{
    if(IsPlayerConnected(playerid))
    {
new teamnumber;
if (PlayerInfo[playerid][pLeader] != 0) teamnumber = PlayerInfo[playerid][pLeader];
else if (PlayerInfo[playerid][pMember] != 0) teamnumber = PlayerInfo[playerid][pMember];
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Niste clan Organizacije!");
return 1;
}
    SendClientMessage(playerid, 0x808000AA, "_______Clanovi_______");
foreach (Player, i)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, sizeof(string), "");
if (PlayerInfo[i][pLeader] == teamnumber) format(string, sizeof(string), "%s Lider",sendername);
else if (PlayerInfo[i][pMember] == teamnumber) format(string, sizeof(string), "%s, Rank: %d.",sendername, PlayerInfo[i][pRank]);
if (strlen(string) > 1) SendClientMessage(playerid, 0xF5DEB3AA, string);
}
}
return 1;
}

dragan12

Ovo hoces?
   if(strcmp(cmd,"/clanovi",true)==0)
{
    if(IsPlayerConnected(playerid))
    {
new teamnumber;
if (PlayerInfo[playerid][pLeader] != 0) teamnumber = PlayerInfo[playerid][pLeader];
else if (PlayerInfo[playerid][pMember] != 0) teamnumber = PlayerInfo[playerid][pMember];
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Niste clan Organizacije!");
return 1;
}
    SendClientMessage(playerid, 0x808000AA, "_______Clanovi_______");
foreach (Player, i)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, sizeof(string), "");
if (PlayerInfo[i][pLeader] == teamnumber) format(string, sizeof(string), "%s Lider",sendername);
else if (PlayerInfo[i][pMember] == teamnumber) format(string, sizeof(string), "Ime:%s, Rank: %d.",sendername, PlayerInfo[i][pRank]);
if (strlen(string) > 1) SendClientMessage(playerid, 0xF5DEB3AA, string);
}
}
return 1;
}


dragan12

Citat: Boki Pro poslato Jun 29, 2011, 18:58:23 POSLE PODNE
a da li mi mozes napraviti komandu /quitfaction ?
Sta treba da bude u toj komandi? Samo da ga izbaci iz organizacije ili jos nesto (da ga kazni i ostalo)



if(strcmp(cmd,"/quitfaction",true)==0)
{
   if(IsPlayerConnected(playerid))
   {
if(PlayerInfo[playerid][pMember] >= 1 || PlayerInfo[playerid][pLeader] >= 1)
{
    SendClientMessage(playerid, COLOR_LIGHTRED,"* Napustili ste organizaciju sada ste civil.");
    PlayerInfo[playerid][pTeam] = TEAM_GREEN;
    PlayerInfo[playerid][pMember] = 0;
    PlayerInfo[playerid][pRank] = 0;
    PlayerInfo[playerid][pChar] = 0;
    PlayerInfo[playerid][pLeader] = 0;
      SetPlayerSkin(playerid, 212);
    }
else if (PlayerInfo[playerid][pFMember] != 255)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "*Napustili ste organizaciju sada ste civil !");
               gTeam[playerid] = 3;
PlayerInfo[playerid][pTeam] = 3;
PlayerInfo[playerid][pFMember] = 255;
PlayerInfo[playerid][pRank] = 0;
PlayerInfo[playerid][pChar] = 0;
SetPlayerSkin(playerid, 137);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Niste clan organizacije/mafije");
}
}
return 1;
}

Izvoli




a kako ovo a kako ono

nikola cemu IsPlayerConnected u toj komandi?
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √

:S to imas u igri to alt drzi pa ce ici tako...a posto ti je vervatno ono non rp trcanje..promeni to..pa ce i drugacije dok drzis alt hodati
//

Street Crimes RolePlay\gamemodes\SC.pwn(34435) : error 029: invalid expression, assumed zero
Street Crimes RolePlay\gamemodes\SC.pwn(34435) : warning 215: expression has no effect
Street Crimes RolePlay\gamemodes\SC.pwn(34435) : error 001: expected token: ";", but found "if"

2 Errors.


Linije

34435 else if(strcmp(help,"Osnovno",true) == 0)

Komanda

if(strcmp(cmd, "/komande", true) == 0 || strcmp(cmd, "/help", true) == 0)
{
new help[64];
new p;
help = strtok(cmdtext, p);
if(!strlen(help)) return SendClientMessage(playerid, COLOR_GRAD1, "Koristi: /help ");
SendClientMessage(playerid, COLOR_GRAD1, "Osnovno,Racun,Chat,Banka,Telefon,House,Note,Rent,Biz,Lider,Irc,Fish,Donator ");
   else if(strcmp(help,"Osnovno",true) == 0)
{
SendClientMessage(playerid, COLOR_GRAD1,"Osnovno /plati /vreme /kupi /naruci /otvorivrata /odeca /unrentcar /unrentbike /switchkey /animhelp");
SendClientMessage(playerid, COLOR_GRAD1,"Osnovno /kupioruzije /licenses /zakljucaj /pitaj /report /resetupgrades(50k) /skill /fuel");
SendClientMessage(playerid, COLOR_GRAD1,"Osnovno /cancel /prihvati /izbaci /usedrugs /contract /fill /admins (/f)actionlist /knockout");
SendClientMessage(playerid, COLOR_GRAD1,"Osnovno (/wi)ndows /coin /trunk (/inv)entory /knock /give /otvori /pokazilicnu /smoke");
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 11 || PlayerInfo[playerid][pMember] == 11)
{
  SendClientMessage(playerid, COLOR_PURPLE, "Policija (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duznost /osumnjiceni /stavilisice /tazer /undercover");
SendClientMessage(playerid, COLOR_PURPLE, "Policija /bk /bkc /pretresi /pretresinv /oduzmi /kazna /gov /area51 /srusivrata /ubaci /odvezipolicajca /pokaziznacku");
SendClientMessage(playerid, COLOR_PURPLE, "Policija /roadblock(/rb) /roadunblock(/rrb) /roadunblockall(/rrball) /tracelastcall(/tlc) /weplicense");
  }
  if(PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2)
{
  SendClientMessage(playerid, COLOR_PURPLE, "FBI (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duznost /osumnjiceni /stavilisice /tazer /agent /pokazifbi");
SendClientMessage(playerid, COLOR_PURPLE, "FBI  /pretresi /pretresinv /oduzmi /kazna (/gov)ernment /area51 /srusivrata /ubaci /odvezipolicajca");
  }
  if(PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 3)
{
  SendClientMessage(playerid, COLOR_PURPLE, "Specijalne Jedinice (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duznost /osumnjiceni /stavilisice /tazer");
SendClientMessage(playerid, COLOR_PURPLE, "Specijalne Jedinice /pretresi /pretresinv /oduzmi /kazna (/gov)ernment /area51 /srusivrata /ubaci /odvezipolicajca");
  }
           if(PlayerInfo[playerid][pJob] == 1) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /find"); }
   else if(PlayerInfo[playerid][pJob] == 2) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /free"); }
   else if(PlayerInfo[playerid][pJob] == 3) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /sex"); }
   else if(PlayerInfo[playerid][pJob] == 4) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /selldrugs"); }
   else if(PlayerInfo[playerid][pJob] == 5) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /dropcar"); }
   else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /paper /papers /live /news [text]"); }
   else if(PlayerInfo[playerid][pJob] == 7) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /repair /refill /duty"); }
   else if(PlayerInfo[playerid][pJob] == 8) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /guard"); }
   else if(PlayerInfo[playerid][pJob] == 9) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /sellgun"); }
   else if(PlayerInfo[playerid][pJob] == 10) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /sellcar"); }
   else if(PlayerInfo[playerid][pJob] == 11) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /prevoz"); }
   else if(PlayerInfo[playerid][pJob] == 12) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /fight /boxstats"); }
   else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10|| PlayerInfo[playerid][pJob] == 14) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /fare"); }
   else if(PlayerInfo[playerid][pJob] == 15) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /papers /bring /deliver"); }
   else if(PlayerInfo[playerid][pJob] == 16) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /buyprods /sellprods /load"); }
   else if(PlayerInfo[playerid][pJob] == 17) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /duty /sellpizza"); }
   else if(PlayerInfo[playerid][pJob] == 18) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /startharvest /stopharvest"); }
   else if(PlayerInfo[playerid][pJob] == 19) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /startdrugharvest /stopdrugharvest"); }
   else if(PlayerInfo[playerid][pJob] == 20) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /smuggledrugs"); }
   else if(PlayerInfo[playerid][pJob] == 21) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /startsweep /stopsweep"); }
   else if(PlayerInfo[playerid][pJob] == 22) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /smugglemats"); }
   else if(PlayerInfo[playerid][pJob] == 23) {
   SendClientMessage(playerid,COLOR_PURPLE,"Posao /creategun /buymats"); }
           else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) {
   SendClientMessage(playerid,COLOR_PURPLE,":: HITMAN :: /portable"); }
if (gTeam[playerid] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
SendClientMessage(playerid, COLOR_PURPLE, "Bolnica (/r)adio (/d)epartments /heal /duznost");
}
if (PlayerInfo[playerid][pAdmin] >= 1)
{
SendClientMessage(playerid, Plava, "Admin (/a)dmin (/ah)elp");
}
if (PlayerInfo[playerid][pGameMaster] >= 1)
{
SendClientMessage(playerid, Zelena, "GM (/g)amemaster (/gh)elp");
}
SendClientMessage(playerid, COLOR_GRAD3,"Ostalo /telefonhelp /househelp /notehelp /vehiclehelp /renthelp /bizhelp /liderhelp /fishhelp /irchelp");
}
       else if(strcmp(help,"Racun",true) == 0)
   {
SendClientMessage(playerid, COLOR_GRAD1,"Racun /pravila /stats /promenipass /kupilevel /nadogradnja");
    }
          else if(strcmp(help,"Chat",true) == 0)
{
SendClientMessage(playerid, COLOR_GRAD1,"Chat /w /o /s /b /f /me /do");
}
else if(strcmp(help,"Banka",true) == 0)
{
SendClientMessage(playerid, COLOR_GRAD1,"Banka /balance /withdraw /deposit /transfer");
}
else if(strcmp(help,"Donator",true) == 0)
{
SendClientMessage(playerid, COLOR_LIGHTRED,"Donator /togooc /tognews /togfam /togpm /togphone /pm");
}
else if(strcmp(help,"Telefon",true) == 0)
{
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
if (PlayerInfo[playerid][pPnumber] > 0)
{
SendClientMessage(playerid, COLOR_GRAD3,"*** TELEFON *** /call 'eg: /call 911' /ucall /sms /pickup (/h)angup /number");
}
else
{
SendClientMessage(playerid, COLOR_WHITE,"Mozete kupiti telefon u prodavnici 24/7");
}
}
else if(strcmp(help,"House",true) == 0)
{
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessage(playerid, COLOR_GRAD3,"*** HOUSE *** /enter /exit /open /home /heal /houseupgrade (/hu) /setrentable /tv (off/player)");
SendClientMessage(playerid, COLOR_GRAD3,"*** HOUSE *** /evictall /setrent /evict /housewithdraw");
}
else if(strcmp(help,"Note",true) == 0)
{
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessage(playerid, COLOR_GRAD3,"*** NOTE *** /shownotes /deletenote /createnote /givenote");
}
else if(strcmp(help,"Rent",true) == 0)
{
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessage(playerid, COLOR_GRAD3,"*** IZNAJMLJIVANJE *** /unrent /enter /exit /lock /home");
}
else if(strcmp(help,"Biz",true) == 0)
{
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessage(playerid, COLOR_GRAD3,"*** BIZNIS *** /bizinfo /bizfee/prodprice /extortion");// /bizname
SendClientMessage(playerid, COLOR_GRAD4,"*** BIZNIS *** /enter /exit /open /sellbiz /bizbank /bizwithdraw");
}
else if(strcmp(help,"Lider",true) == 0)
{
   if (PlayerInfo[playerid][pLeader] >= 1 )
   {
       SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
       if(PlayerInfo[playerid][pLeader] != 7)
       {
SendClientMessage(playerid, COLOR_GRAD3,"*** LIDERI *** /invite /uninvite /giverank");
}
if(PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 16)
{
   SendClientMessage(playerid, COLOR_GRAD3,"*** LIDERI *** /lockhq");
}
if(PlayerInfo[playerid][pLeader] == 7)
{
SendClientMessage(playerid, COLOR_GRAD3,"*** LIDER *** /govinvite /govuninvite /settax /givetax (Give some money to the Cops)");
}
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
}
else
{
   SendClientMessage(playerid, COLOR_GREY, "   Niste Lider!");
}
}
else if(strcmp(help,"Irc",true) == 0)
{
       SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
       SendClientMessage(playerid, COLOR_WHITE,"*** IRC *** (/irc join [channelnr] or /irc join [channelnr] [password])  (/irc leave)");
SendClientMessage(playerid, COLOR_WHITE,"*** IRC *** (/irc Password [channelnr])  (/irc NeedPass [channelnr])  (/irc Lock [channelnr])");
SendClientMessage(playerid, COLOR_WHITE,"*** IRC *** (/irc Admins)  (/irc MOTD [motdtext])  (/irc status [channelnr])  (/i [text])");
   }
else if(strcmp(help,"Fish",true) == 0)
{
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessage(playerid, COLOR_GRAD3,"*** RIBOLOV *** /fish (Try to catch a fish)   /fishes (Show the fishes you have caught)");
SendClientMessage(playerid, COLOR_GRAD3,"*** RIBOLOV *** /throwback (Throw the last fish you caught back)   /throwbackall");
SendClientMessage(playerid, COLOR_GRAD3,"*** RIBOLOV *** /releasefish (Release one of your fishes)");
}
return 1;
}



Da li znate kako ubaciti kada kucam primer /oprema da mi se pojavi pancir na telu ?
Poslednja Izmena: Jun 29, 2011, 20:13:08 POSLE PODNE od Boki Pro

Ovu komandu ovako :
if(strcmp(cmd, "/komande", true) == 0 || strcmp(cmd, "/help", true) == 0)
{
new help[64];
new p;
help = strtok(cmdtext, p);
if(!strlen(help)) return SendClientMessage(playerid, COLOR_GRAD1, "Koristi: /help ");
SendClientMessage(playerid, COLOR_GRAD1, "Osnovno,Racun,Chat,Banka,Telefon,House,Note,Rent,Biz,Lider,Irc,Fish,Donator ");
     if(strcmp(help,"Osnovno",true) == 0)
{
SendClientMessage(playerid, COLOR_GRAD1,"Osnovno /plati /vreme /kupi /naruci /otvorivrata /odeca /unrentcar /unrentbike /switchkey /animhelp");
SendClientMessage(playerid, COLOR_GRAD1,"Osnovno /kupioruzije /licenses /zakljucaj /pitaj /report /resetupgrades(50k) /skill /fuel");
SendClientMessage(playerid, COLOR_GRAD1,"Osnovno /cancel /prihvati /izbaci /usedrugs /contract /fill /admins (/f)actionlist /knockout");
SendClientMessage(playerid, COLOR_GRAD1,"Osnovno (/wi)ndows /coin /trunk (/inv)entory /knock /give /otvori /pokazilicnu /smoke");
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 11 || PlayerInfo[playerid][pMember] == 11)
{
    SendClientMessage(playerid, COLOR_PURPLE, "Policija (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duznost /osumnjiceni /stavilisice /tazer /undercover");
SendClientMessage(playerid, COLOR_PURPLE, "Policija /bk /bkc /pretresi /pretresinv /oduzmi /kazna /gov /area51 /srusivrata /ubaci /odvezipolicajca /pokaziznacku");
SendClientMessage(playerid, COLOR_PURPLE, "Policija /roadblock(/rb) /roadunblock(/rrb) /roadunblockall(/rrball) /tracelastcall(/tlc) /weplicense");
    }
    if(PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2)
{
    SendClientMessage(playerid, COLOR_PURPLE, "FBI (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duznost /osumnjiceni /stavilisice /tazer /agent /pokazifbi");
SendClientMessage(playerid, COLOR_PURPLE, "FBI  /pretresi /pretresinv /oduzmi /kazna (/gov)ernment /area51 /srusivrata /ubaci /odvezipolicajca");
    }
    if(PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 3)
{
    SendClientMessage(playerid, COLOR_PURPLE, "Specijalne Jedinice (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duznost /osumnjiceni /stavilisice /tazer");
SendClientMessage(playerid, COLOR_PURPLE, "Specijalne Jedinice /pretresi /pretresinv /oduzmi /kazna (/gov)ernment /area51 /srusivrata /ubaci /odvezipolicajca");
    }
            if(PlayerInfo[playerid][pJob] == 1) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /find"); }
    else if(PlayerInfo[playerid][pJob] == 2) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /free"); }
    else if(PlayerInfo[playerid][pJob] == 3) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /sex"); }
    else if(PlayerInfo[playerid][pJob] == 4) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /selldrugs"); }
    else if(PlayerInfo[playerid][pJob] == 5) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /dropcar"); }
    else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /paper /papers /live /news [text]"); }
    else if(PlayerInfo[playerid][pJob] == 7) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /repair /refill /duty"); }
    else if(PlayerInfo[playerid][pJob] == 8) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /guard"); }
    else if(PlayerInfo[playerid][pJob] == 9) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /sellgun"); }
    else if(PlayerInfo[playerid][pJob] == 10) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /sellcar"); }
    else if(PlayerInfo[playerid][pJob] == 11) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /prevoz"); }
    else if(PlayerInfo[playerid][pJob] == 12) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /fight /boxstats"); }
    else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10|| PlayerInfo[playerid][pJob] == 14) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /fare"); }
    else if(PlayerInfo[playerid][pJob] == 15) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /papers /bring /deliver"); }
    else if(PlayerInfo[playerid][pJob] == 16) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /buyprods /sellprods /load"); }
    else if(PlayerInfo[playerid][pJob] == 17) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /duty /sellpizza"); }
    else if(PlayerInfo[playerid][pJob] == 18) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /startharvest /stopharvest"); }
    else if(PlayerInfo[playerid][pJob] == 19) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /startdrugharvest /stopdrugharvest"); }
    else if(PlayerInfo[playerid][pJob] == 20) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /smuggledrugs"); }
    else if(PlayerInfo[playerid][pJob] == 21) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /startsweep /stopsweep"); }
    else if(PlayerInfo[playerid][pJob] == 22) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /smugglemats"); }
    else if(PlayerInfo[playerid][pJob] == 23) {
    SendClientMessage(playerid,COLOR_PURPLE,"Posao /creategun /buymats"); }
            else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) {
    SendClientMessage(playerid,COLOR_PURPLE,":: HITMAN :: /portable"); }
if (gTeam[playerid] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
SendClientMessage(playerid, COLOR_PURPLE, "Bolnica (/r)adio (/d)epartments /heal /duznost");
}
if (PlayerInfo[playerid][pAdmin] >= 1)
{
SendClientMessage(playerid, Plava, "Admin (/a)dmin (/ah)elp");
}
if (PlayerInfo[playerid][pGameMaster] >= 1)
{
SendClientMessage(playerid, Zelena, "GM (/g)amemaster (/gh)elp");
}
SendClientMessage(playerid, COLOR_GRAD3,"Ostalo /telefonhelp /househelp /notehelp /vehiclehelp /renthelp /bizhelp /liderhelp /fishhelp /irchelp");
}
        else if(strcmp(help,"Racun",true) == 0)
    {
SendClientMessage(playerid, COLOR_GRAD1,"Racun /pravila /stats /promenipass /kupilevel /nadogradnja");
     }
           else if(strcmp(help,"Chat",true) == 0)
{
SendClientMessage(playerid, COLOR_GRAD1,"Chat /w /o /s /b /f /me /do");
}
else if(strcmp(help,"Banka",true) == 0)
{
SendClientMessage(playerid, COLOR_GRAD1,"Banka /balance /withdraw /deposit /transfer");
}
else if(strcmp(help,"Donator",true) == 0)
{
SendClientMessage(playerid, COLOR_LIGHTRED,"Donator /togooc /tognews /togfam /togpm /togphone /pm");
}
else if(strcmp(help,"Telefon",true) == 0)
{
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
if (PlayerInfo[playerid][pPnumber] > 0)
{
SendClientMessage(playerid, COLOR_GRAD3,"*** TELEFON *** /call 'eg: /call 911' /ucall /sms /pickup (/h)angup /number");
}
else
{
SendClientMessage(playerid, COLOR_WHITE,"Mozete kupiti telefon u prodavnici 24/7");
}
}
else if(strcmp(help,"House",true) == 0)
{
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessage(playerid, COLOR_GRAD3,"*** HOUSE *** /enter /exit /open /home /heal /houseupgrade (/hu) /setrentable /tv (off/player)");
SendClientMessage(playerid, COLOR_GRAD3,"*** HOUSE *** /evictall /setrent /evict /housewithdraw");
}
else if(strcmp(help,"Note",true) == 0)
{
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessage(playerid, COLOR_GRAD3,"*** NOTE *** /shownotes /deletenote /createnote /givenote");
}
else if(strcmp(help,"Rent",true) == 0)
{
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessage(playerid, COLOR_GRAD3,"*** IZNAJMLJIVANJE *** /unrent /enter /exit /lock /home");
}
else if(strcmp(help,"Biz",true) == 0)
{
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessage(playerid, COLOR_GRAD3,"*** BIZNIS *** /bizinfo /bizfee/prodprice /extortion");// /bizname
SendClientMessage(playerid, COLOR_GRAD4,"*** BIZNIS *** /enter /exit /open /sellbiz /bizbank /bizwithdraw");
}
else if(strcmp(help,"Lider",true) == 0)
{
    if (PlayerInfo[playerid][pLeader] >= 1 )
    {
        SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
        if(PlayerInfo[playerid][pLeader] != 7)
        {
SendClientMessage(playerid, COLOR_GRAD3,"*** LIDERI *** /invite /uninvite /giverank");
}
if(PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 16)
{
    SendClientMessage(playerid, COLOR_GRAD3,"*** LIDERI *** /lockhq");
}
if(PlayerInfo[playerid][pLeader] == 7)
{
SendClientMessage(playerid, COLOR_GRAD3,"*** LIDER *** /govinvite /govuninvite /settax /givetax (Give some money to the Cops)");
}
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "   Niste Lider!");
}
}
else if(strcmp(help,"Irc",true) == 0)
{
        SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
        SendClientMessage(playerid, COLOR_WHITE,"*** IRC *** (/irc join [channelnr] or /irc join [channelnr] [password])  (/irc leave)");
SendClientMessage(playerid, COLOR_WHITE,"*** IRC *** (/irc Password [channelnr])  (/irc NeedPass [channelnr])  (/irc Lock [channelnr])");
SendClientMessage(playerid, COLOR_WHITE,"*** IRC *** (/irc Admins)  (/irc MOTD [motdtext])  (/irc status [channelnr])  (/i [text])");
    }
else if(strcmp(help,"Fish",true) == 0)
{
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessage(playerid, COLOR_GRAD3,"*** RIBOLOV *** /fish (Try to catch a fish)   /fishes (Show the fishes you have caught)");
SendClientMessage(playerid, COLOR_GRAD3,"*** RIBOLOV *** /throwback (Throw the last fish you caught back)   /throwbackall");
SendClientMessage(playerid, COLOR_GRAD3,"*** RIBOLOV *** /releasefish (Release one of your fishes)");
}
return 1;
}


Citat: Boki Pro poslato Jun 29, 2011, 19:09:42 POSLE PODNE
kada stisnem ALT da ide onako gangsterski kao da se rasiri kao da je faca ono ruke mlati onako noge isto tako kao
U OnGameModeInit naÄ'i UsePlayerPedAnims(); i izbrisi tu liniju