How to use GetVehicleVelocity
#4

//Floats - variables
new Float: x, Float:y, Float:z;
//Get the vehicle speed/velocity
GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
//Now checking the speeds
if(x >= 200)
//Removing $200 from his money & notifying him!
{
GivePlayerMoney(playerid, -200);
SendClientMessage(playerid, -1, "[Speed Limit]: You have crossed the speed limite, therefore, you have been fined $200!");
}

wtf that supposed to do?
Reply


Messages In This Thread
How to use GetVehicleVelocity - by NealPeteros - 10.01.2016, 13:06
Re: How to use GetVehicleVelocity - by adithegman - 10.01.2016, 14:58
Re: How to use GetVehicleVelocity - by Karan007 - 10.01.2016, 15:17
Re: How to use GetVehicleVelocity - by CodeStyle175 - 10.01.2016, 15:25
Re: How to use GetVehicleVelocity - by OwlIT - 10.01.2016, 15:37
Re: How to use GetVehicleVelocity - by NealPeteros - 11.01.2016, 09:21

Forum Jump:


Users browsing this thread: 1 Guest(s)