[Tutorial] Login/Register System with dialog
#21

file is not saved
Reply
#22

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++..
Reply
#23

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

When I register it dosen't save.
Reply
#25

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.
Reply
#26

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
Reply
#27

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];
Reply
#28

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.
Reply
#29

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

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


Forum Jump:


Users browsing this thread: 4 Guest(s)