Command does nothing
#1

Hey guys,

i'm actually making my own gamemode and i don't know why but when i type a commande it does nothing

Example :

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/test", cmdtext, true, 10) == 0)
	{
 	SendClientMessage(playerid, COLOR_LIGHTRED, "Test OK");
		// Do something here
	return 1;
	}
	return 0;
}
Nothing appears

Thanks for your help
Reply


Messages In This Thread
Command does nothing - by falor - 01.03.2012, 14:38
Re: Command does nothing - by FalconX - 01.03.2012, 15:03
Re : Command does nothing - by falor - 01.03.2012, 15:08
Re: Command does nothing - by BigD - 01.03.2012, 15:10
Re: Re : Command does nothing - by FalconX - 01.03.2012, 15:11
Re : Command does nothing - by falor - 01.03.2012, 15:17
Re : Command does nothing - by falor - 01.03.2012, 15:35

Forum Jump:


Users browsing this thread: 1 Guest(s)