05.11.2013, 17:37
Hi,i have a problem.public OnPlayerEnterVehicle and OnPlayerEXitVehicle dont work,simply,nothing from this public dont work.look what i have on ExitVehicle
Simply,when u exit the job vehicle,it doesnt respawn,nothing happens..
Thanks in advance.
Код:
public OnPlayerExitVehicle(playerid, vehicleid) { if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 428) { SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, COLOR_RED, " Ai coborat din masina iar aceasta a fost respawnata. "); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 532) { SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, COLOR_RED, " Ai coborat din masina iar aceasta a fost respawnata. "); } return 1; }
Thanks in advance.