Help function 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: Help function RemoveBuildingForPlayer! (
/showthread.php?tid=556655)
Help function RemoveBuildingForPlayer! -
TVDYNAMO - 11.01.2015
I want to load RemoveBuildingForPlayer function without restarting the server, can someone help me.
Re: Help function RemoveBuildingForPlayer! -
Threshold - 11.01.2015
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++) //Start looping through all players
{
if(!IsPlayerConnected(i)) continue; //If the player is not connected, skip.
RemoveBuildingForPlayer(i, /*....*/); //Remove the building for the player.
}
References:
https://sampwiki.blast.hk/wiki/Keywords:Statements#for
Also see:
https://sampforum.blast.hk/showthread.php?tid=92679
AW: Re: Help function RemoveBuildingForPlayer! -
TVDYNAMO - 11.01.2015
Quote:
Originally Posted by Threshold
|
Thank you, you can just do a restore?