Including inside a callback.
#1

All the include have inside then is RemoveBuildingForPlayer functions. I don't get any errors but the removebuildings don't work. Here's my code:

Код:
public OnPlayerConnect(playerid)
{ 
	// SECTION: MAPS

	#include "../Maps/Dealerships/Bahn/Bahn_Removes.pwn"
	#include "../Maps/Dealerships/Ottos/Ottos_Removes.pwn"
	#include "../Maps/Dealerships/Shody/Shody_Removes.pwn"
	#include "../Maps/Dealerships/Wang/Wang_Removes.pwn"

	#include "../Maps/GasPumps/FlintCounty/FlintCounty_Removes.pwn"
	#include "../Maps/GasPumps/Idlewood/Idlewood_Removes.pwn"

	return 1;
}
Reply


Messages In This Thread
Including inside a callback. - by Seifspeed - 06.07.2018, 16:45
Re: Including inside a callback. - by Verc - 06.07.2018, 16:47
Re: Including inside a callback. - by Seifspeed - 06.07.2018, 16:48
Re: Including inside a callback. - by Seifspeed - 06.07.2018, 17:01
Re: Including inside a callback. - by Verc - 06.07.2018, 17:02
Re: Including inside a callback. - by Seifspeed - 06.07.2018, 19:21

Forum Jump:


Users browsing this thread: 2 Guest(s)