RemoveBuildingForPlayer HELP - 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 HELP (
/showthread.php?tid=633530)
RemoveBuildingForPlayer HELP -
pelican1 - 02.05.2017
hello!
Instead of putting, OnPlayerConnect
RemoveBuildingForPlayer(playerid,.....
is it possible to do a loop through all players slots to remove building in OnGamemodeinit?
Thanks
Re: RemoveBuildingForPlayer HELP -
AndreiWow - 02.05.2017
Did you try it? It takes you few rows, but why would you want to do that?
Re: RemoveBuildingForPlayer HELP -
Toroi - 02.05.2017
Quote:
is it possible to do a loop through all players slots to remove building in OnGamemodeinit?
|
How would it work if there are no players online when the gamemode inits?