SA-MP Forums Archive
[FilterScript] Simple Register / Login - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Simple Register / Login (/showthread.php?tid=183709)



Simple Register / Login - V3 - epic.matrix - 16.10.2010

Name:
Simple Register / Login

Type:
Filterscript

Other:
new lspawn = 1;
If that is set to 0 players wont have to register or login in order to spawn... otherwise it set to force register and spawn!

Notes:
Under script files you must make a folder called users!

Downloads:
Pwn:
http://solidfiles.com/d/1a34/
Amx:
http://solidfiles.com/d/71775/
Pastebin:
http://pastebin.com/DjHa2z1G

Donations:
Send any ammound over $5 to epic.matrix101@gmail.com (using paypal) to help support my scripts! or visit my website:

Coming soon




Re: Simple Register / Login - F_Lexx - 16.10.2010

good for beginners


Re: Simple Register / Login - epic.matrix - 16.10.2010

Quote:
Originally Posted by F_Lexx
Посмотреть сообщение
good for beginners
Thank you, finaly some feedback! btw ive been doing pawn for a few years... This is just a hour work as im to lazy to make a whole new GF not a GF edit a new GF gm XD


Re: Simple Register / Login - Aleluja - 16.10.2010

Nice, i needed this


Re: Simple Register / Login - epic.matrix - 16.10.2010

Quote:
Originally Posted by Aleluja
Посмотреть сообщение
Nice, i needed this
np man


Re: Simple Register / Login - Rickzor14 - 17.10.2010

If i try to compile it says:
C:\Users\Rick_2.PC_van_Rick\Desktop\sregister.pwn( 3) : fatal error 100: cannot read from file: "dini"


How to fix?


Re: Simple Register / Login - F_Lexx - 17.10.2010

Quote:
Originally Posted by Rickzor14
Посмотреть сообщение
If i try to compile it says:
C:\Users\Rick_2.PC_van_Rick\Desktop\sregister.pwn( 3) : fatal error 100: cannot read from file: "dini"


How to fix?
download inlclude dini by DracoBlue.. And that file you copy to /pawno/includes/


Re: Simple Register / Login - Slice - 17.10.2010

pawn Код:
public OnPlayerSpawn(playerid)
{
        //Can't spawn if your not logged in or registered...
That doesn't work. Put the code in OnPlayerRequestSpawn.

Also, one could spam /login and get money each time!


Re: Simple Register / Login - epic.matrix - 17.10.2010

Quote:
Originally Posted by g_aSlice
Посмотреть сообщение
pawn Код:
public OnPlayerSpawn(playerid)
{
        //Can't spawn if your not logged in or registered...
That doesn't work. Put the code in OnPlayerRequestSpawn.

Also, one could spam /login and get money each time!
Oops ive been doing this like its a gm D: il fix for u


Re: Simple Register / Login - Luicy. - 17.12.2014

Nice but next time use like this
Код:
public OnPlayerConnect(playerid)
{
	SendClientMessage(playerid, -1, "Use /register or /login to Play Then click Spawn!");
	return 1;
}
Becuse People wont understand in the server the commands automatic lol