22.02.2010, 05:59
pawn Код:
if(strcmp(cmdtext, "/car", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0, 428.54077148438,2471.2541503906, 25.62894821167))return SendClientMessage(playerid, COLOR_RED,"You Cannot Use This Command Here"); // if player is in range of this point, all the code after this isn't executed
//your command function here
return 1;
}