[Pomoc]/help Komanda

Započeo ...Nikola..., Jun 29, 2011, 16:54:20 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: FactionGame
Detaljan opis problema: kako da namestim da kada kucam /help da mi izbaci ponudjeno i ispod kao Koristi:/help da pise ponedjena imena primer /help admin, /help kuca da mi ne izbaci sve od jednom nego koju ja opciju izaberem,ako neko moze da mi napravi tako
Dio skripte: //----------------------------------[HELP]-----------------------------------------------
if(strcmp(cmd, "/komande", true) == 0 || strcmp(cmd, "/help", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
   SendClientMessage(playerid, COLOR_GRAD1,"Racun /pravila /stats /promenipass /kupilevel /nadogradnja");
SendClientMessage(playerid, COLOR_GRAD1,"Generalno /plati /vreme /kupi /naruci /otvorivrata /odeca /unrentcar /unrentbike /switchkey /animhelp");
SendClientMessage(playerid, COLOR_GRAD1,"Generalno /kupioruzije /licenses /zakljucaj /pitaj /report /resetupgrades(50k) /skill /fuel");
SendClientMessage(playerid, COLOR_GRAD1,"Generalno /cancel /prihvati /izbaci /usedrugs /contract /fill /admins (/f)actionlist /knockout");
SendClientMessage(playerid, COLOR_GRAD1,"Generalno (/wi)ndows /coin /trunk (/inv)entory /knock /give /otvori /pokazilicnu /smoke");
  SendClientMessage(playerid, COLOR_GRAD1,"Chat /w /o /s /b /f /me /do");
SendClientMessage(playerid, COLOR_GRAD1,"Banka /balance /withdraw /deposit /transfer");
SendClientMessage(playerid, COLOR_LIGHTRED,"Donator /togooc /tognews /togfam /togpm /togphone /pme");
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");
}
return 1;
}
//---------------------------------------------------------------------------------
if(strcmp(cmd, "/telefonhelp", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
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");
}
}
return 1;
}
if(strcmp(cmd, "/househelp", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
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");
}
return 1;
}
if(strcmp(cmd, "/notehelp", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessage(playerid, COLOR_GRAD3,"*** NOTE *** /shownotes /deletenote /createnote /givenote");
}
return 1;
}
if(strcmp(cmd, "/renthelp", true) == 0)
{
if(IsPlayerConnected(playerid))
   {
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessage(playerid, COLOR_GRAD3,"*** IZNAJMLJIVANJE *** /unrent /enter /exit /lock /home");
}
return 1;
}
if(strcmp(cmd, "/bizhelp", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
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");
}
return 1;
}
if(strcmp(cmd, "/liderhelp", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
   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!");
}
}
return 1;
}
if(strcmp(cmd, "/irchelp", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
       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])");
   }
   return 1;
}
if(strcmp(cmd, "/fishhelp", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
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;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno): /

if(strcmp(cmd, "/help", true) == 0)
{
ShowPlayerDialog(playerid,ID_DIALOGA,DIALOG_STYLE_LIST,"HELP","Admin Help\nHouse Help\n","Izaberi", "");
return true;
}


OnDialogResponse

if(dialogid == ID_DIALOGA)
{
switch(listitem)
{
case 0:
{
SendClientMessage(playerid, Boja, "Admin help");
SendClientMessage(playerid, Boja, "Komande il' sta vec hoces!");
}
case 1:
{
SendClientMessage(playerid, Boja, "House help");
SendClientMessage(playerid, Boja, "Komande il' sta vec hoces!");
}
}
}


Ako sam te dobro skontao.. Nisi bas najbolje objasnio -_-
Poslednja Izmena: Jun 29, 2011, 17:12:39 POSLE PODNE od Aleksandar?

Ako hoces u komandi da kuca: /help telefon i da izbaci sve o tome, ovako bi ti trebalo raditi:


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_GREY, "INFO: /help | /komande [osnovno/telefon/house/note/rent/biz/lider/irc/fish]");
else if(strcmp(help,"osnovno",true) == 0)
{
    SendClientMessage(playerid, COLOR_GRAD1,"Racun /pravila /stats /promenipass /kupilevel /nadogradnja");
SendClientMessage(playerid, COLOR_GRAD1,"Generalno /plati /vreme /kupi /naruci /otvorivrata /odeca /unrentcar /unrentbike /switchkey /animhelp");
SendClientMessage(playerid, COLOR_GRAD1,"Generalno /kupioruzije /licenses /zakljucaj /pitaj /report /resetupgrades(50k) /skill /fuel");
SendClientMessage(playerid, COLOR_GRAD1,"Generalno /cancel /prihvati /izbaci /usedrugs /contract /fill /admins (/f)actionlist /knockout");
SendClientMessage(playerid, COLOR_GRAD1,"Generalno (/wi)ndows /coin /trunk (/inv)entory /knock /give /otvori /pokazilicnu /smoke");
  SendClientMessage(playerid, COLOR_GRAD1,"Chat /w /o /s /b /f /me /do");
SendClientMessage(playerid, COLOR_GRAD1,"Banka /balance /withdraw /deposit /transfer");
SendClientMessage(playerid, COLOR_LIGHTRED,"Donator /togooc /tognews /togfam /togpm /togphone /pme");
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,"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;
}
Just one more time.

Bas to sto si ti uradio Pacino.A dali bi mogao da napravis u sve ovo da dodas racun, banka, chat, donator a iz osnovnog samo da ostane ovo gde sve pise Generalno?

pa samo dodajes i brises

else if(strcmp(help,"IME",true) == 0)
{
      /*Ovde poruke */
}
Poslednja Izmena: Jun 29, 2011, 17:31:24 POSLE PODNE od EM|Pacino
Just one more time.

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

2 Errors.


Linije

34655 else if(strcmp(help,"osnovno",true) == 0)

Pa samo ti kaze, prije toga if treba ; - negdje nema
Just one more time.

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


Linija gde je error

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

Error Glasi
Street Crimes RolePlay\gamemodes\SC.pwn(34403) : error 029: invalid expression, assumed zero
Street Crimes RolePlay\gamemodes\SC.pwn(34403) : warning 215: expression has no effect
Street Crimes RolePlay\gamemodes\SC.pwn(34403) : error 001: expected token: ";", but found "if"
Poslednja Izmena: Jun 29, 2011, 18:27:47 POSLE PODNE od Boki Pro

Citat: Boki Pro poslato Jun 29, 2011, 18:19:24 POSLE PODNE
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;
}


Linija gde je error

       else if(strcmp(help,"Osnovno",true) == 0)
Da li si nesto mozda zaboravio da stavis npr kako glasi taj eror? :-\???

Onda stavi umjesto else if samo IF
Just one more time.