SetVehicleVelocity
#1

Well i just get bored and haved fun with PAWN
pawn Код:
CMD:testvehiclevelocity(playerid,params[])
{
    SetVehicleVelocity(3, 0, -10, 0);
    return 1;
}
These must set vehicle id 3 to high speed (catapult it)
But i founded out that if there is nobody in car than nothing will happen
And if i get in any car and use these CMD it will catapult it....weired....
Is it just me or maybe its a bug?
I use these as blank FS and blank GM

[EDIT] I also tried to do small debug i added a loop that will set vehicle velocity of id 2 to 10 and when i get in any car its just catapult me....so wtf is happening?
Reply
#2

FYI, Setting a vehicle's velocity where there is no players in it has no effect. I'm not sure about it setting any random vehicle's velocity when you choose another vehicle.
Reply
#3

Well what is happening:

It should catapult vehicle id 3
There is nobody in that vehicle so its not move (thats fine)
When i get in vehicle id 3 and use CMD its catapult it (thats fine)
But if i get in any other vehicle and use the CMD than its catapult my vehicle (vehicle im in) WTF?!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)