All of the commands are not working
#1

Hello when i create a command,after i login in the server they are not working
My code
PHP код:
public OnPlayerCommandPerformed(playeridcmdtext[], success)
{
    if(
success)
    {
        return 
1;
    }
    if(
strcmp(cmdtext"/help"true) == 0)
    {
        
SendClientMessage(playerid, -1"Available commands:/help ");
        return 
1;
    }
    if(
strcmp(cmdtext"/kill"true) == 0)
    {
        
SetPlayerHealth(playerid0);
        return 
1;
    }
    return 
0;

Reply


Messages In This Thread
All of the commands are not working - by ognyanov - 30.07.2015, 23:19
Re: All of the commands are not working - by TheSnaKe - 30.07.2015, 23:24
Re: All of the commands are not working - by ognyanov - 30.07.2015, 23:27
Re: All of the commands are not working - by TheSnaKe - 30.07.2015, 23:31
Re: All of the commands are not working - by ognyanov - 30.07.2015, 23:34
Re: All of the commands are not working - by ognyanov - 30.07.2015, 23:39

Forum Jump:


Users browsing this thread: 1 Guest(s)