Please help me naughty bug y_ini register
#1

Hello i have something like this system https://sampforum.blast.hk/showthread.php?tid=273088
And it works fine except that if someone makes an account with a somekind similar name it takes over the admin level and places it in the other account.
Could you help me?


PS: if you need to see a part of the code just ask i dont really know what to show you D:
Reply
#2

Add this "OnPlayerConnect"
pawn Код:
PlayerInfo[playerid][pAdmin] = 0;
This will reset the admin level to 0, you need to reset all their stats too.
Reply
#3

Shouldnt i remake my own stats to then ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)