Error in OnGameModeInit
#8

Thought I should update you.
I filled the ongamemodeinit with print messages. It stopped at this code:
Код:
	for(new x;x<sizeof(TruckerVehicles);x++) //THIS LINE
	{
		format(string, sizeof(string), "Coon %d", TruckerVehicles[x]);
		SetVehicleNumberPlate(TruckerVehicles[x], string);
		SetVehicleToRespawn(TruckerVehicles[x]);
	}
This is the fixed version but before, the sizeof(); had the wrong array specified (Copy and paste for you)...-.-
Everyones help - much appreciated!
Reply


Messages In This Thread
Error in OnGameModeInit - by Jacksta21 - 25.11.2013, 21:40
Re: Error in OnGameModeInit - by Konstantinos - 25.11.2013, 21:48
Re: Error in OnGameModeInit - by Jacksta21 - 25.11.2013, 21:58
Re: Error in OnGameModeInit - by Konstantinos - 26.11.2013, 16:52
Re: Error in OnGameModeInit - by Jacksta21 - 26.11.2013, 20:31
Re: Error in OnGameModeInit - by Konstantinos - 26.11.2013, 20:38
Re: Error in OnGameModeInit - by Jacksta21 - 26.11.2013, 22:18
Re: Error in OnGameModeInit - by Jacksta21 - 26.11.2013, 22:39

Forum Jump:


Users browsing this thread: 2 Guest(s)