Carfixing vehiclespeed
#4

Under your carfix command:

Код:
new Float:Velocity[3];
GetVehicleVelocity(GetPlayerVehicleID(playerid), Velocity[0], Velocity[1], Velocity[2]);
if(Velocity[0] != 0 || Velocity[1] != 0 || Velocity[2] != 0) return SendClientMessage(playerid,0xffffffaa,"Your car needs to be stationary in order to use this command");
Gives you an idea.
Reply


Messages In This Thread
Carfixing vehiclespeed - by thimo - 21.12.2010, 18:39
Re: Carfixing vehiclespeed - by DJDhan - 21.12.2010, 18:42
Re: Carfixing vehiclespeed - by thimo - 21.12.2010, 18:47
Re: Carfixing vehiclespeed - by DJDhan - 21.12.2010, 18:51
Re: Carfixing vehiclespeed - by thimo - 21.12.2010, 19:04
Re: Carfixing vehiclespeed - by DJDhan - 21.12.2010, 19:21
Re: Carfixing vehiclespeed - by thimo - 21.12.2010, 19:23
Re: Carfixing vehiclespeed - by DJDhan - 21.12.2010, 19:45
Re: Carfixing vehiclespeed - by thimo - 21.12.2010, 19:49
Re: Carfixing vehiclespeed - by DJDhan - 21.12.2010, 20:01

Forum Jump:


Users browsing this thread: 1 Guest(s)