RemovePlayerFromVehicle
#1

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 ...
Reply
#2

You want us to fix code or you request this code?
Reply
#3

I need someone to explain me why this happens or to fix this code
Reply
#4

remove this from your code
pawn Код:
RemovePlayerFromVehicle(playerid);
now your player won't jump off
Reply
#5

but i need to remove him from the car ..
Reply
#6

You mean RemovePlayerFromVehicle doesn't work in your script?
Reply
#7

No man you it works but when i enter i can drive for some secounds and then it remove the player :S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)