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



/ban - Sal_Kings - 01.05.2009

Ok i am trying to make a /ban thingy, I dont have any problems exept one BIG MAIN ONE

I can only make a scrpt to ban my self but i cant make a script to /ban id


Its very comfusing plz help


Re: /ban - MenaceX^ - 01.05.2009

It's not confusing at all, you need to have ReturnUser function if you want it to support a name+id.
If you want it to support ID only, use strval.