Quote:
Originally Posted by Kar
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/Knock", cmdtext, true, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid, 4.0, 2097.2568,-1195.5635,23.8585,179.5196)) SendClientMessage(playerid, white, "You are knocking on the door.."); SendClientMessage(playerid, red, "No one answered knock again! /again."); } else { SendClientMessage(playerid, white, "You are not near the Arms Dealer place!"); } return 0; }
|
Thanks it helped i think :P