Timer/RemovePlayerFromVehicle - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Timer/RemovePlayerFromVehicle (
/showthread.php?tid=79334)
Timer/RemovePlayerFromVehicle -
JoeDaDude - 27.05.2009
Ive made a cage,
If someone gets in my car a cage rises,
The timer then starts and when 10 seconds is over the cage sinks,
But it also removes you from vehicle, But it seems to be removing everyone from there vehicle,
How to make it so it just removes the player in my car and no1 else
Re: Timer/RemovePlayerFromVehicle -
Backwardsman97 - 28.05.2009
pawn Код:
if(IsPlayerInVehicle(GetPlayerVehicleID(playerid),otherplayerid))
{
RemovePlayerFromVehicle(otherplayerid);
return 1;
}
Like that?