Can't Remove Building From Includes
#4

All I have done is created three functions in my mapping include, see below:
Код:
stock RemoveBuildings(playerid)
{
	// Mapping here
	printf("[mapping.inc] Removed Buildings for playerid %d.", playerid);
	return 1;
}

stock LoadMapping()
{
	// Mapping here
	print("[mapping.inc] Loaded Mapping");
	return 1;
}

stock LoadDynamicMapping(playerid)
{
	// Mapping here
	printf("[mapping.inc] Loaded Dynamic Mapping for playerid %d.", playerid);
	return 1;
}
And then in the main gamemode script under OnGameModeInit I call LoadMapping(), and under OnPlayerConnect I call RemoveBuildings(playerid) and LoadDynamicMapping(playerid).
Reply


Messages In This Thread
Can't Remove Building From Includes - by Speaker - 31.12.2017, 13:33
Re: Can't Remove Building From Includes - by MEW273 - 31.12.2017, 13:57
Re: Can't Remove Building From Includes - by Ritzy2K - 31.12.2017, 14:01
Re: Can't Remove Building From Includes - by MEW273 - 31.12.2017, 14:06
Re: Can't Remove Building From Includes - by Speaker - 31.12.2017, 14:06
Re: Can't Remove Building From Includes - by Speaker - 31.12.2017, 14:08
Re: Can't Remove Building From Includes - by MEW273 - 31.12.2017, 14:17
Re: Can't Remove Building From Includes - by RogueDrifter - 31.12.2017, 14:17
Re: Can't Remove Building From Includes - by MEW273 - 31.12.2017, 14:22
Re: Can't Remove Building From Includes - by RogueDrifter - 31.12.2017, 14:53

Forum Jump:


Users browsing this thread: 1 Guest(s)