Player stuck in register - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Player stuck in register (
/showthread.php?tid=244870)
Player stuck in register -
Vlad_Dubonos - 28.03.2011
Hello again me when players trying to login/register the are just stuck like a map position not good
this good or need change something
Код:
maxnpc 500
onfoot_rate 30
incar_rate 30
weapon_rate 40
stream_distance 200.0
stream_rate 1000
what need to changE?
Re: Player stuck in register -
Tee - 28.03.2011
Does your server say to the player, "Connected to [What ever your server name is]"? That happens to me when I don't script the right stuff under OnPlayerConnect. Try removing everything at OnPlayerConnect and just leave it then test and see if you will get to the class selection screen. (Remeber you are testing it so just copy and save the script that is at OnPlayerConnect)
Re: Player stuck in register -
Vlad_Dubonos - 28.03.2011
Not work
Re: Player stuck in register -
Tee - 28.03.2011
Please forgive me. It can happen at either OnPlayerConnect or when your GM is loaded. Look at OnGameModeInit.
Last try: Remove OnGameModeInit and replace it with this
pawn Код:
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
That is the default for pawno. It should work with CJ skin as class. (Remember that you are testing it so just copy and save what you removed)