Adding Mapping to Filterscript HELP!
#5

Quote:
Originally Posted by Ranshand
Посмотреть сообщение
If you use CreateDynamicObject you must have Streamer By Incognito. Put objects to callback OnFilterScriptInit if it is script, to OnGameModeInit if it is gamemode. If you want remove objects, put RemoveBuildingForPlayer to callback OnPlayerConnect.
If it is filterscript.
Код:
public OnFilterScriptInit()
{
	CreateDynamicObject(...);
	return 1;
}
Or if it is gamemode.
Код:
public OnGameModeInit()
{
	CreateDynamicObject(...);
	return 1;
}
And this.
Код:
public OnPlayerConnect(playerid)
{
	RemoveBuildingForPlayer(...);
	return 1;
}
So what have I done wrong to receive these errors? (As I am a noob, I do not understand when you use the term 'callback'.
Reply


Messages In This Thread
Adding Mapping to Filterscript HELP! - by ExcelGaming - 25.01.2014, 20:45
Re: Adding Mapping to Filterscript HELP! - by McBan - 25.01.2014, 20:49
Re: Adding Mapping to Filterscript HELP! - by ExcelGaming - 25.01.2014, 20:52
Re: Adding Mapping to Filterscript HELP! - by Ranshand - 25.01.2014, 20:56
Re: Adding Mapping to Filterscript HELP! - by ExcelGaming - 25.01.2014, 21:01
Re: Adding Mapping to Filterscript HELP! - by Dignity - 25.01.2014, 21:21

Forum Jump:


Users browsing this thread: 1 Guest(s)