21.06.2016, 16:17
Код:
public OnPlayerExitVehicle(playerid, vehicleid) { if(GetPlayerVehicleID(playerid) > 3) { GetVehiclePos(vehicleid,Float:vx,Float:vy,Float:vz); GetVehicleZAngle(vehicleid,Float:va); for(new i = 0; i < sizeof(Vehicle); i++) { Vehicle[i][Positionx] = vx; Vehicle[i][Positiony] = vy; Vehicle[i][Positionz] = vz; SaveThings(); } } return 1; }