24.06.2011, 18:48
help me with this
whats wrong?? when i try to type buyweaps..
it will show:
[SERVER]Unknown Commands
-_-
please help me :3
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/buyweaps", true))
{
if(IsPlayerInRangeOfPoint(playerid, 100.0, 292.2005,-35.0779,1001.5156))
{
SendClientMessage(playerid,0xFFFFFFf,"Working...");
}
return 1;
}
SendClientMessage(playerid, 0xFFFFFFAA,"you must in the ammunation store!");
return 0;
}
it will show:
[SERVER]Unknown Commands
-_-
please help me :3

