10.01.2016, 15:25
//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?
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?