07.07.2010, 11:11
Код:
new garageoutside; //teleports from outside to inside of garage new garage; //teleports from inside to outside of garage new garageoutsidecars;//teleports from outside to inside of garage with vehicles new garagecars;//teleports from inside to outside of garage with vehicles garageoutside = CreatePickup (1273, 1, 2196.8542,2412.0093,10.8203); garage = CreatePickup (1272, 1, 2172.7998,2416.6609,10.8203, 0); garageoutsidecars = CreatePickup (1273, 14, 2196.8542,2412.0093,10.8203); garagecars = CreatePickup (1272, 14, 2172.7998,2416.6609,10.8203, 0); if(pickupid == garageoutside) SetPlayerPos (playerid, 2165.5825,2416.3362,10.8203); if(pickupid == garage) SetPlayerPos (playerid, 2219.7261,2414.9763,10.8125); if(pickupid == garagecars) SetVehiclePos (playerid, 2219.7261,2414.9763,10.8125); if(pickupid == garageoutsidecars) SetVehiclePos (playerid, 2165.5825,2416.3362,10.8203);
It plays up some sound when i drive into it with car, but nothing more happens.
after that, it seems to dissapear because i dont hear any sound the second time.
maybe i need to do some kind of getvehicleid and put it in SetVehiclePos (playerid, currentid, X, Y, Z);
because right now i dont even have any vehicleid in both of that SetVehiclePos