04.08.2014, 15:36
Getplayerpos wasnt finished.
Anyway still isnt working
Anyway still isnt working
Код:
command(vehtest, playerid, params[]) { new carid = GetClosestVehicle(playerid, 5.0); new Float:cx, Float:cy, Float:cz; GetVehiclePos(carid, cx, cy, cz); if(IsPlayerInRangeOfPoint(playerid, 5.0, cx,cy,cz)) { SendClientMessage(playerid, WHITE, "Y."); } return 1; }