SA-MP Forums Archive
Server Closed Connection - 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: Server Closed Connection (/showthread.php?tid=311329)



Server Closed Connection - Tamao_Serizawa - 16.01.2012

I need help with my script.When i connect to my server then i enter my pass.Then Server Closed Connection.Even
when i register new account it also do the same thing.How can i fix it?
Contact me on Msn:arnoldaztecas@hotmail.com


Re: Server Closed Connection - Hoborific - 16.01.2012

SetSpawnInfo before SpawnPlayer(), it should be fixed in R3


Re: Server Closed Connection - Tamao_Serizawa - 16.01.2012

Quote:
Originally Posted by Hoborific
View Post
SetSpawnInfo before SpawnPlayer(), it should be fixed in R3
?What do u mean Fixed in R3.Where do i put SpawnPlayer(),


Re: Server Closed Connection - Hoborific - 16.01.2012

Wherever you have spawned the player via Spawn or SpawnPlayer or whatever the function is, use SetSpawnInfo before you do it, example:

pawn Code:
SetSpawnInfo(playerid,0,Stats[playerid][Skin],X,Y,Z,0,0,0,0,0,0,0);
    SpawnPlayer(playerid);



Re: Server Closed Connection - Tamao_Serizawa - 16.01.2012

I put SetSpawnInfo(playerid);
above SpawnPlayer(playerid);
It has the same warning 12 warnings
Code:
number of arguements not match



Re: Server Closed Connection - Tamao_Serizawa - 16.01.2012

Not working.


Re: Server Closed Connection - Hoborific - 16.01.2012

Yeah no shit, you can't just copy/paste my code, SetSpawnInfo(PLAYERID,TEAMID,SKINID,X,Y,Z,R?,WEAP1 ,WEAP1AMMO,WEAP2,WEAP2AMMO,WEAP3,WEAP3AMMO

You need to fill in the parameters with things such as the XYZ, skin, and shit.

I think you should um. try editing something more beginner friendly.


Re: Server Closed Connection - Tamao_Serizawa - 16.01.2012

Can you help me with teamviewer?


Re: Server Closed Connection - Tamao_Serizawa - 16.01.2012

Is an Rp Gm so it can relog in the same player.I want them to load at their last spot


Re: Server Closed Connection - Tamao_Serizawa - 16.01.2012

Anyone helping me with teamviewer?Pm me