Lag cmds && vlock
#3

have have a enum for cars ids

enum TeamCars
{
GroveStreet,
Police
}
new Cars[TeamCars];

can you help me now thats just an example of how i have the team cars?! to do it now cuz im trying to aviod using enum

Edit:nm i tried something praying it would work it did
Код:
     new engine, lights, alarm, doors, bonnet, boot, objective, vehicleid, string[128], Float:vx, Float:vy, Float:vz;
	 if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not driving a vehicle.");
	 if(vehicleid == 509 || vehicleid == 481 || vehicleid == 510) return SendClientMessage(playerid, COLOR_GREY, "Bicycles have no engine.");
	 GetVehiclePos(vehicleid, vx, vy, vz);
	 if(IsPlayerInRangeOfPoint(playerid, 3, vx, vy, vz))
	 vehicleid = GetPlayerVehicleID(playerid);
	 GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
Reply


Messages In This Thread
Lag cmds && vlock - by trapstar2020 - 18.09.2012, 03:21
Re: Lag cmds && vlock - by Backwardsman97 - 18.09.2012, 03:36
Re: Lag cmds && vlock - by trapstar2020 - 18.09.2012, 03:43
Re: Lag cmds && vlock - by trapstar2020 - 18.09.2012, 05:14

Forum Jump:


Users browsing this thread: 1 Guest(s)