02.11.2009, 17:17
solved
if (strcmp("/help", cmdtext, true, 10) == 0)
if (strcmp("/help", cmdtext, true) == 0)
Originally Posted by Pinehole
Yep, but i dont think it's the problem. someone please help
|
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp("/something",cmdtext,true))
{
//do something
return 1;
}
if(!strcmp("/someelse",cmdtext,true))
{
//do something else
return 1;
}
return 0;
}