SA-MP Forums Archive
Server close 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 close connection (/showthread.php?tid=463692)



Server close connection - LilBob - 13.09.2013

Hey,

All is fine in my server_logs, also host, ip, anything, and when i connect to my server it says "connected to.." and that part of the script is showed:

pawn Код:
SendClientMessage(playerid, COLOR_OR,"<========================================================================>");
    SendClientMessage(playerid, COLOR_SERVER, "{00ff00}[RolePlay Life] {00CCF6}Bienvenue A Vous {ff0000}Dans RolePlay{00CCF6} Life.");
    SendClientMessage(playerid, COLOR_SERVER, "{00ff00}[RolePlay Life] {00CCF6}Version Actuelle {ff0000}Du Serveur:{00CCF6} 5.2");
    SendClientMessage(playerid, COLOR_SERVER, "{00ff00}[RolePlay Life] {00CCF6}Le Serveur Est{ff0000} Hйbйrgй Chez{00CCF6} Best-H.");
    SendClientMessage(playerid, COLOR_SERVER, "{00ff00}[RolePlay Life] {00CCF6}Veuillez Patienter {ff0000}Pendant Le Chargement {00CCF6}Des Mappings & Scripts.");
    SendClientMessage(playerid, COLOR_SERVER, "{00ff00}[RolePlay Life] {00CCF6}Veuillez Patienter {ff0000}Pendant Le Chargement {00CCF6}De Vos Stats.");
    SendClientMessage(playerid, COLOR_SERVER, "Pour connaitre les factions а reprendre tapez /cf ou visitez notre forum: www.roleplay-life.forumactif.org");
    SendClientMessage(playerid, COLOR_OR,"<========================================================================>");
In the console I've put a function "player crash", here is the code:

pawn Код:
if(reason==0 || reason==2) // On l'autorisera a taper RESPAWN
    {
        if(PlayerInfo[playerid][pInt]==0 && PlayerInfo[playerid][pVirtualWorld]==0)
            {PlayerInfo[playerid][pReg] = 20; print("[Crash] Le joueur а crash");}
    }
I've already tried to remove that code, nothing changed..

Anyone can help ?


Re: Server close connection - [HK]Ryder[AN] - 13.09.2013

Download the newly released 0.3x R2. Previous version had some crash errors