Saving system
#1

mybe my script bugged but
i want when the player leaves he come back with his same spot and same vip level+admin level
idk why it doest work.. i use yini
Reply
#2

Have you used INI_ParseFile in your script at all?
Reply
#3

nope
Reply
#4

INI_ParseFile is what LOADS the users data. Check out these threads:
https://sampforum.blast.hk/showthread.php?tid=376424
Reply
#5

oh i missunderstand u , i got the same register system but without whirlpool
Reply
#6

any thoughts?
Reply
#7

Any thoughts on what? Just use INI_ParseFile when they login.
Reply
#8

when i get IG i supposed to be an admin and vip
but it doesnt work
Reply
#9

Put it where they log in.
pawn Код:
//if password is correct
//Login player
//INI_ParseFile etc..
Reply
#10

ik , look ill explain more:
pawn Код:
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
                    GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
                     // Here i want when the player logs in , he gets his admin+vip status
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)