ZCMD HELP
#4

PHP код:
CMD:check(playeridparams[])
{
    new 
text[128];
    if(
sscanf(params"s[128]"text))
        return 
SendClientMessageToAll(playerid0xFF0000FF"USE: /check [text]");
    if(
strcmp(text"car"true) == 0)
    {
        
// FUNCTIONS
    
}
    else if(
strcmp(text"kar"true) == 0)
    {
        
// FUNCTIONS
    
}
    else return 
SendClientMessage(playerid0xFF0000FF"You can only use \"car\" or \"kar\".");
    return 
1;

If you still don't understand, ask me and I will explain.
Reply


Messages In This Thread
ZCMD HELP - by ppeterpp - 30.06.2011, 06:39
Re: ZCMD HELP - by Jochemd - 30.06.2011, 07:39
Re: ZCMD HELP - by ppeterpp - 30.06.2011, 10:53
Re: ZCMD HELP - by Shadoww5 - 30.06.2011, 13:16

Forum Jump:


Users browsing this thread: 1 Guest(s)