07.07.2010, 21:57
(
Последний раз редактировалось RedFusion; 07.07.2010 в 23:52.
)
Код:
if(pickupid == garageoutsidecars) { SetPlayerPos (playerid, 2165.5825,2416.3362,10.8203); if(IsPlayerInAnyVehicle(playerid)) { new pveh = GetPlayerVehicleID(playerid); SetVehiclePos(pveh, 2165.5825,2416.3362,10.8203); PutPlayerInVehicle(playerid,pveh, 0); } CreatePickup (1273, 14, 2196.8542,2412.0093,10.8203);//creates a new one. } if(pickupid == garagecars) { SetPlayerPos (playerid, 2219.7261,2414.9763,10.8125); if(IsPlayerInAnyVehicle(playerid)) { new pveh = GetPlayerVehicleID(playerid); SetVehiclePos(pveh, 2219.7261,2414.9763,10.8125); PutPlayerInVehicle(playerid,pveh, 0); } CreatePickup (1272, 14, 2172.7998,2416.6609,10.8203, 0);//creates a new one }
What did i do wrong?