Invalid function or declaration
#1

Hello, I'm trying to add this function to my gamemode:
Код:
SetVehicleEngineState(vehicleid, state)
{
	new engine, lights, alarm, doors, bonnet, boot, objective;
	GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
	SetVehicleParamsEx(vehicleid, state, lights, alarm, doors, bonnet, boot, objective);
}
But every time I compile it it gives me invalid function or declaration error. There's nothing wrong with it, is there?
Reply


Messages In This Thread
Invalid function or declaration - by GoldenLion - 06.11.2016, 15:27
Re: Invalid function or declaration - by PeanutButter - 06.11.2016, 15:38
Re: Invalid function or declaration - by GoldenLion - 06.11.2016, 16:03
Re: Invalid function or declaration - by SickAttack - 06.11.2016, 16:58

Forum Jump:


Users browsing this thread: 2 Guest(s)