SA-MP Forums Archive
[Tutorial] Login/Register System with dialog - 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: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] Login/Register System with dialog (/showthread.php?tid=251714)

Pages: 1 2


Re: Login/Register System with dialog - Flashhiee - 01.05.2012

file is not saved


Re: Login/Register System with dialog - Rivera - 21.07.2012

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
Nice although DINI is so old, you're better of having a new system then that. Well Old and Slow = rubbish. Not saying you're TUT is rubbish but i suggest you're Next TUT thats about registering, maybe y_ini?

Anyway once again nice.
Haha I'm replying like after 1 year because I quit SAMP and I'm starting to program in C++ and/or Lua (For WoW mainly). I thought that Y_ini route is really hard and I was a beginner by that time so that's why I chose dini

P.S.: I forgot almost everything about scripting, lol. This lang is really really close to C++..


Re: Login/Register System with dialog - Goldilox - 21.07.2012

I used Copy/Paste and replaced with OnPlayerConnect and OnPlayerDisconnect but it doesn't come up, it says ot have 10 errors.


Re: Login/Register System with dialog - Karl[NDZ] - 22.07.2012

When I register it dosen't save.


Re: Login/Register System with dialog - zedshadowzw - 07.05.2017

I get this error whenever I try to compile
Code:
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : error 017: undefined symbol "PlayerInfo"
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : warning 215: expression has no effect
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : error 001: expected token: ";", but found "]"
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : error 029: invalid expression, assumed zero
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.



Re: Login/Register System with dialog - Lamy - 07.05.2017

Quote:
Originally Posted by zedshadowzw
View Post
I get this error whenever I try to compile
Code:
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : error 017: undefined symbol "PlayerInfo"
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : warning 215: expression has no effect
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : error 001: expected token: ";", but found "]"
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : error 029: invalid expression, assumed zero
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Show The Lines


Re: Login/Register System with dialog - coool - 07.05.2017

Quote:
Originally Posted by zedshadowzw
View Post
I get this error whenever I try to compile
Code:
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : error 017: undefined symbol "PlayerInfo"
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : warning 215: expression has no effect
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : error 001: expected token: ";", but found "]"
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : error 029: invalid expression, assumed zero
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(149) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
You have bumped years old thread, what ever you have forgot this part. Re read that part
Code:
enum pInfo {
	AdminLevel,
	level,
	cash,
	pw,
}
new PlayerInfo[MAX_PLAYERS][pInfo];



Re: Login/Register System with dialog - zedshadowzw - 07.05.2017

Quote:
Originally Posted by coool
View Post
You have bumped years old thread, what ever you have forgot this part. Re read that part
Code:
enum pInfo {
	AdminLevel,
	level,
	cash,
	pw,
}
new PlayerInfo[MAX_PLAYERS][pInfo];
I appreciate your help, I added the enum thing into my gamemode script but I still have errors, but atleast it got decreased by one...
Code:
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(201) : error 035: argument type mismatch (argument 2)
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(201) : error 001: expected token: ",", but found ";"
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(402) : error 021: symbol already defined: "OnDialogResponse"
C:\Users\Family\Desktop\Server\gamemodes\RoleplayMe.pwn(411) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.



Re: Login/Register System with dialog - zedshadowzw - 09.05.2017

Nevermind guys! I already fixed the errors myself! Anyways, thanks for the help!


Re: Login/Register System with dialog - organe. - 11.02.2019

sry for up, but why dont create a nick_name.ini in Users