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



Console commands? - DarrenReeder - 07.09.2010

Hello,

I would like to make some console commands but i am not sure how i would make them...

The reason for this is because i am making a register function and login function with mysql but it would be easy to make a console command like:

register [user] [email] [pass]

then pass tthat through the function and see if it inputs in the database...this will speed things up because i will not need to go ingame with every test i do...

-Thanks for any help!


Re: Console commands? - mick88 - 07.09.2010

Get zcmd and sscanf, they are quite easy to use.


Re: Console commands? - DarrenReeder - 07.09.2010

yeah i use them, but i dont know how to make console commands with it


Re: Console commands? - Vince - 07.09.2010

https://sampwiki.blast.hk/wiki/OnRconCommand