SA-MP Forums Archive
RemoveBuildingForPlayer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: RemoveBuildingForPlayer (/showthread.php?tid=557857)



RemoveBuildingForPlayer - ScriptFohLife - 15.01.2015

Hello when I'm adding some RemoveBuildingForPlayer lines and compile my gamemode, everything works but when i log into the server every mappings etc is gone. What should I do?


Respuesta: RemoveBuildingForPlayer - JuanStone - 15.01.2015

Shows how you're doing.


Re: RemoveBuildingForPlayer - ahmedkoki - 15.01.2015

Make sure you put it under OnPlayerConnect callback


Re: RemoveBuildingForPlayer - ScriptFohLife - 15.01.2015

I'm adding it under
pawn Код:
public OnPlayerConnect(playerid)



Re: RemoveBuildingForPlayer - ATGOggy - 15.01.2015

And where do you add CreateObject?


Re: RemoveBuildingForPlayer - ScriptFohLife - 15.01.2015

under
pawn Код:
public OnGameModeInit()



Re: RemoveBuildingForPlayer - CalvinC - 15.01.2015

Your custom mapping disappears?
It might help using incognito's streamer plugin, and changing to dynamic objects.