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)
+--- Thread: RemovePlayerFromVehicle (
/showthread.php?tid=362669)
RemovePlayerFromVehicle -
TheDeath - 25.07.2012
Hello guys today i have started to make roleplay server and i have little problems with them
When i Enter i can drive for little (it need to RemovePlayerFromVehicle) and then jump of the bike
Here is code:
Код:
TogglePlayerControllable(playerid, 0);
CenterText(playerid,"You are already renting bike!", 5);
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
CenterText Means GameTextForPlayer ...
Re: RemovePlayerFromVehicle -
RedJohn - 25.07.2012
You want us to fix code or you request this code?
Re: RemovePlayerFromVehicle -
TheDeath - 25.07.2012
I need someone to explain me why this happens or to fix this code
Re: RemovePlayerFromVehicle -
Rudy_ - 25.07.2012
remove this from your code
pawn Код:
RemovePlayerFromVehicle(playerid);
now your player won't jump off
Re: RemovePlayerFromVehicle -
TheDeath - 25.07.2012
but i need to remove him from the car ..
Re: RemovePlayerFromVehicle -
newbienoob - 25.07.2012
You mean RemovePlayerFromVehicle doesn't work in your script?
Re: RemovePlayerFromVehicle -
TheDeath - 25.07.2012
No man you it works but when i enter i can drive for some secounds and then it remove the player :S