10.04.2013, 16:19
Try like this, I'm not sure will it work because I'm not home to try it out:
Код:
CreateVehicle(578, 2264.8755, -1252.7938, 23.1688, 0.0000, -1, -1, 100); if(strcmp("/Test", cmdtext, true, 10) == 0) { new Float:x,Float:y,Float:z; GetVehiclePos(playerid, x,y,z); if(IsPlayerInRangeOfPoint(playerid, 7.0, x,y,z)) { SendClientMessage(playerid, COLOR_YELLOW,"Test"); } return 1; }