Scripting 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Scripting Help! (
/showthread.php?tid=96148)
Scripting Help! -
Tigerbeast11 - 06.09.2009
Im creating an Admin Base! And I want to know how I could create a command that automattically kills the person entering the base if they are not an admin!
Let me explain in more deatil - I have a admin base ready! But I need the callback which automattically kills the player if they enter the admin base and they are not actually admins!
I hope you guys can help! Im counting on u!
Re: Scripting Help! -
Calgon - 06.09.2009
Run a timer to check if the player is in the relative location (using custom functions such as ProxDetectorS() to determine their proximity of the location), then SetPlayerHealth(playerid, 0);
Re: Scripting Help! -
Tigerbeast11 - 06.09.2009
Im so sorry!
Im rubbish at scripting so I have no idea what you just wrote! Can you plz send me the script and tell me what to edit and ill edit it!
Once again, sorry guys!