SA-MP Forums Archive
RemoveBuldingForPlayer - 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: RemoveBuldingForPlayer (/showthread.php?tid=382580)



RemoveBuldingForPlayer - Jermi - 04.10.2012

Where to add that COde? i mean under What? ONgamemodeinit or what?


Re: RemoveBuldingForPlayer - XtremeR - 04.10.2012

under onplayer connect or onplayerspawn and it uses playerid in it


Re: RemoveBuldingForPlayer - ikey07 - 04.10.2012

On player spawn wouldnt be great idea as each time player dies and spawn server will remove same and same objects, till plauer game will just freeze :P


Re: RemoveBuldingForPlayer - JaKe Elite - 04.10.2012

OnPlayerConnect

or OnGameModeInit by using loop functions not sure but best choice is OnPlayerConnect