OnPlayerExitVehicle(thevhicule, destroys no matter what)
#1

Hi, I have this on my server...
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
SetTimerEx("_DestroyVehicle", 10000, false, "i", vehicleid);
SendClientMessage(playerid,0xFFFFFFAA,  "You have 10 to go back to the vehicule before it destroys.");
return 1;
}
//The end! XD | Please help meeeeee pleaaaaase... :sad meme:
What its suppose to do its delete the car if the player does not returns to it in 10 seconds, but it deletes any way even if the player gets back into it before the 10 seconds even if the player is in the vehicule. Please help me.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)