IsPlayerInRangeOfPoint Doesnt work -_-
#1

help me with this

Код:
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;
}
whats wrong?? when i try to type buyweaps..
it will show:

[SERVER]Unknown Commands

-_-
please help me :3
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)