SA-MP Forums Archive
Freeze after log-in? - 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: Freeze after log-in? (/showthread.php?tid=454861)



Freeze after log-in? - Tuntun - 30.07.2013

Why after i connect to the my server its freeze me??
Look like this:



Re: Freeze after log-in? - PrinceKumar - 30.07.2013

is there use of TogglePlayerControllable(i, false); in ur script?


Re: Freeze after log-in? - Tuntun - 30.07.2013

No....


Re: Freeze after log-in? - Alexis1999 - 30.07.2013

Try using this after printing the message Your account is now registered.

pawn Код:
TogglePlayerControllable(playerid, true);



Re: Freeze after log-in? - Tuntun - 30.07.2013

Well, I have fixed this... i just put this to OnPlayerSpawn

And anyone can fix this? :
Код:
D:\Trucking\gamemodes\Beta.pwn(11) : error 017: undefined symbol "Info"
D:\Trucking\gamemodes\Beta.pwn(11) : error 009: invalid array size (negative, zero or out of bounds)
D:\Trucking\gamemodes\Beta.pwn(66) : error 021: symbol already defined: "PlayerInfo"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Код:
new PlayerInfo[MAX_PLAYERS][Info];
I'm trying to make an register system so..


Re: Freeze after log-in? - PrinceKumar - 30.07.2013

Use pInfo


Re: Freeze after log-in? - Tuntun - 30.07.2013

Now this:
Код:
D:\Trucking\gamemodes\Beta.pwn(11) : error 017: undefined symbol "pInfo"
D:\Trucking\gamemodes\Beta.pwn(11) : error 009: invalid array size (negative, zero or out of bounds)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.