#1

Lol.this aint working..help?

http://pastebin.com/3RydJDzm
Reply
#2

What actually doesn't work? The teleport?
Reply
#3

No...yea forgot to tell lol:P
The Velocity of the vehicle doesnt change,even tested with sendclientmessage and print,but nothing showed.
Reply
#4

It's because you are checking if the player is near some coordination.

Check with this.
pawn Код:
IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
     GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
     SetVehicleVelocity(GetPlayerVehicleID(playerid), x * 6, y * 6, z * 6);
}
Also,m you want to speed up the vehicle as soon he reaches a position?
Or you want to speed up the vehicle when he teleports?
Reply
#5

Quote:

Also,m you want to speed up the vehicle as soon he reaches a position?

yea

I thaught that IsPlayerInRageOfPont was pretty obvious...
Reply
#6

Quote:
Originally Posted by ColdXX
Посмотреть сообщение
yea

I thaught that IsPlayerInRageOfPont was pretty obvious...
You didn't get me.
Then if you want that, how about setting a timer to check if the player is near that position and BOOST him?
Reply
#7

ohh i see!
Okay ill try that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)