PutPlayerInVehicle issue
#1

Hello guys,
I have a timer that checks if the player is in any vehicle, and if it is not PutPlayerInVehicle(playerid, 43, 0);
To put the player on the vehicle 43 on the driver seat, but the player is just teleported to the vehicle and doesn't enters the vehicle.
But if I try to do /gotov 43 0 that will do exactly the same thing.
Do you have any idea why could this problem be? The timer is being created with the SetTimerEx.
I didn't post any code because is really simple, the timer just have that line of code.

Thanks for your time, I'll +REP you
Reply
#2

make sure no one is as driver when you trying to put him in vehicle
Reply
#3

Yes, I'm prety sure about that, I'm testing it alone on my server, and it works when I do it manualy, out of the timer...
Reply
#4

Sorry for bumping, but now I tried to use OnPlayerCommandText(playerid, "/gotov 43 0"); on the timer, and it doesn't work either. But again, it is working on typed manualy.
Really weird :S
Reply
#5

Show us how you set the timer and the function that it is calling.
Reply
#6

Solved, the problem was with other timer that was clearing an animation, thanks anyway.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)