Job Error
#7

I've done this

Код:
					if(IsFactionVehicle(vehicleid))
					{
						SendClientMessage(playerid, COLOR_WHITE, "[SERVER]: Vehicle engine starting, please wait...");
						SetTimerEx("SetVehicleEngine", 1000, 0, "dd", vehicleid, playerid);
						format(string, sizeof(string), "* %s twists the key in the ignition, turning the engine on.", GetPlayerNameEx(playerid));
						ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
						return 1;
					}
Onto the CMD:engine

and made:

Код:
IsFactionVehicle(carid) {
	switch(GetVehicleModel(carid))  {
	    case 598, 596, 490, 427, 601, 523: return 1;
	}
	return 0;
}
But I'm not sure this is right.
Reply


Messages In This Thread
Job Error - by Scottylad - 29.10.2015, 16:36
Re: Job Error - by Scottylad - 29.10.2015, 18:29
Re: Job Error - by iKarim - 29.10.2015, 19:51
Re: Job Error - by Scottylad - 29.10.2015, 23:28
Re: Job Error - by SpikeSpigel - 30.10.2015, 09:20
Re: Job Error - by PrO.GameR - 30.10.2015, 09:42
Re: Job Error - by Scottylad - 30.10.2015, 13:27

Forum Jump:


Users browsing this thread: 1 Guest(s)