25.01.2014, 21:01
Quote:
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; } Код:
public OnGameModeInit() { CreateDynamicObject(...); return 1; } Код:
public OnPlayerConnect(playerid) { RemoveBuildingForPlayer(...); return 1; } |