SA-MP Forums Archive
HELP: Massive bug at my server [Helpers +rep] - 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)
+--- Thread: HELP: Massive bug at my server [Helpers +rep] (/showthread.php?tid=499635)



HELP: Massive bug at my server [Helpers +rep] - ChristianIvann09 - 09.03.2014

When im going to admin duty.. and my name will change to admin name.. then when i /q. then when a player joins to server the pass dialog will not pops up and if they press "Spawn" button the account will created the player will set the stats the last admin who log out

Sorry for my bad english

Here is my OnPlayerConnect
http://pastebin.com/cSueuy6S

Here is my OnPlayerDisconnect
http://pastebin.com/SWqdMBhy

OnPlayerSpawn:
http://pastebin.com/y2agZ0Q3

I dont know how to solve this problem
I dont know where is the problem caming from

PLEASE HELP ME


Re: HELP: Massive bug at my server [Helpers +rep] - ChristianIvann09 - 09.03.2014

or guys, if you will code to me..

if an admin on duty /q then they will set automatically to off duty

admin variable:
[AdminDuty]


Re: HELP: Massive bug at my server [Helpers +rep] - ChristianIvann09 - 09.03.2014

ScreenShots:

So, i quit while on duty and my admin account just created in Scriptfiles/users


Then, now i create new account named: Massive_Amdre (Just for testing the bug)
then it didnt shown me the register dialog it just showing "Spawn" button below my screen so after i pressed spawn My stats is set like "Ivann" account




Re: HELP: Massive bug at my server [Helpers +rep] - ChristianIvann09 - 09.03.2014

Who can help me? i can rep you


Re: HELP: Massive bug at my server [Helpers +rep] - Dipto - 09.03.2014

cool, no one posted without me and you


Re: HELP: Massive bug at my server [Helpers +rep] - ChristianIvann09 - 09.03.2014

Quote:
Originally Posted by Dipto
Посмотреть сообщение
cool, no one posted without me and you
What do you mean?

you didnt helped me


Re: HELP: Massive bug at my server [Helpers +rep] - anou1 - 09.03.2014

Reset variables when a player connect.

For example, in OnPlayerConnect, so something like this( adapt it for your GM)

pInfo[playerid][Admin] = 0;

And for all other variables.


Re: HELP: Massive bug at my server [Helpers +rep] - ChristianIvann09 - 09.03.2014

Quote:
Originally Posted by anou1
Посмотреть сообщение
Reset variables when a player connect.

For example, in OnPlayerConnect, so something like this( adapt it for your GM)

pInfo[playerid][Admin] = 0;

And for all other variables.
what?

i cant understand

do you have skype? add me : christianivann09