16.08.2010, 16:10
Код:
if(strcmp("/getin", cmdtext, true, 10) == 0){ if(!IsPlayerInAnyVehicle(playerid)){ for(new v=0; v<MAX_VEHICLES; v++){ new Float:x, Float:y, Float:z; GetVehiclePos(v, x, y, z); if(IsPlayerInRangeOfPoint(playerid, 10.00, x, y, z)){ PutPlayerInVehicle(playerid, v, 0); } } } return 1; }