06.07.2016, 13:14
It's better, no?
PHP код:
else if(pickupid == Pickups[motoex])
{
if(!IsPlayerInAnyVehicle(playerid)) SetPlayerPos(playerid, 2145.2996,-1177.1656,23.8203);
new
vehicle_id = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid,2145.2996,-1177.1656,23.8203);
PutPlayerInVehicle(playerid,vehicle_id,0);
}