05.10.2009, 10:51
How I make a System when the people exit the car, the car respawn?
My GameMode is this: http://forum.sa-mp.com/index.php?topic=33818.0
My GameMode is this: http://forum.sa-mp.com/index.php?topic=33818.0
public OnPlayerExitVehicle(playerid, vehicleid)
{
SetVehicleToRespawn(vehicleid);
return 1;
}
forward("VehicleRespawn");
public OnPlayerExitVehicle(playerid, vehicleid) { SetTimer("VehicleRespwn",2000,0); SetVehicleToRespawn(vehicleid); return 1; }
Originally Posted by .•[XpoweR
•. ]
Try this i think it's work Put on top Код:
forward("VehicleRespawn"); Код:
public OnPlayerExitVehicle(playerid, vehicleid) { SetTimer("VehicleRespwn",2000,0); SetVehicleToRespawn(vehicleid); return 1; i hope it work D: } |
Originally Posted by .•[XpoweR
•. ]
Try this i think it's work Put on top Код:
forward("VehicleRespawn"); Код:
public OnPlayerExitVehicle(playerid, vehicleid) { SetTimer("VehicleRespwn",2000,0); SetVehicleToRespawn(vehicleid); return 1; i hope it work D: } |
forward("VehicleRespawn"); public OnPlayerExitVehicle(playerid, vehicleid) { SetTimer("VehicleRespwn",2000,0); SetVehicleToRespawn(vehicleid); return 1; }
forward("VehicleRespawn");
#include <a_samp>