invalid function or declaration
#10

Quote:
Originally Posted by Mencent
Посмотреть сообщение
So.
PHP код:
if(strcmp(tmp"help"true) == 0)
{
    
SendClientMessage(playeridRandomColors[random(200)], "Use: /Gang create to create gang");
    
SendClientMessage(playeridRandomColors[random(200)], "Use: /Gang invite for invite a player in your gang");
    
SendClientMessage(playeridRandomColors[random(200)], "Use: /Gang join for join a gang if you are invited");
    
SendClientMessage(playeridRandomColors[random(200)], "Use: /Gang leave for leave a gang");
    
SendClientMessage(playeridRandomColors[random(200)], "Use: /Gang for view other commands");
    
SendClientMessage(playeridRandomColors[random(200)], "Use: /Gang help1 for help of difence and attack the territories");
    return 
1;
}
if(
strcmp(tmp"help1"true) == 0)
{
    
SendClientMessage(playeridRandomColors[random(200)], "Use: /G [Text] to talk with your gang");
    
SendClientMessage(playeridRandomColors[random(200)], "To attack a gang zone 3 members of your gang must stay there for 2 minutes");
    
SendClientMessage(playeridRandomColors[random(200)], "When the 3 members invade the gangzone, this one start highlighting and it will stop when the gangzone it will be conquisted");
    return 
1;
}
else 
SendClientMessage(playeridRandomColors[random(200)], "USE: /gang [create/invite/join/leave/stats/list/radar]"); 
pawn Код:
else if(strcmp(tmp, "help1", true) == 0)
EDIT: Remember, if 'tmp' is empty, strcmp will return false. So make sure you format 'tmp' to contain some form of a string, even a space would work.
Reply


Messages In This Thread
invalid function or declaration - by PowerF - 26.04.2015, 11:36
Re: invalid function or declaration - by Mencent - 26.04.2015, 11:38
Re: invalid function or declaration - by PowerF - 26.04.2015, 12:21
Re: invalid function or declaration - by BroZeus - 26.04.2015, 12:30
Re: invalid function or declaration - by PowerF - 26.04.2015, 12:38
Re: invalid function or declaration - by Mencent - 26.04.2015, 13:07
Re: invalid function or declaration - by PowerF - 26.04.2015, 13:27
Re: invalid function or declaration - by arlindi - 26.04.2015, 13:32
Re: invalid function or declaration - by Mencent - 26.04.2015, 13:48
Re: invalid function or declaration - by Threshold - 26.04.2015, 13:55

Forum Jump:


Users browsing this thread: 1 Guest(s)