When i Login The Server Turns Off
#1

i have a Roleplay gamemode and i copiled him , no errors , but when i enter on the server it says Loading please wait .... and the server CMD closes .

Someone knows whi happens this ?


I GIVE REPUTATION
Reply
#2

You'll need to post your server log. If thats empty use the crash detect plugin and the check natives function.
Reply
#3

Here Is The Log
Reply
#4

Check that all directories are properly created and that scriptfiles is writable. Often these crashes occur because of improper fail-safe implementations for file functions.
Reply
#5

is not from the scriptfiles ... is from the gm . it puts loading please wait and it restarts take a look and say me if is something wrong

SetPlayerColor(playerid,COLOR_GRAD2);
for(new h = PersonalCarID; h < sizeof(CarInfo); h++)
{
SetVehicleParamsForPlayer(h,playerid,0,CarInfo[h][cLock]);
}
GetPlayerName(playerid, plname, sizeof(plname));
format(string, sizeof(string), "users/%s.ini", plname);
SendClientMessage(playerid, COLOR_LIGHTBLUE, " Server Loading...");
SendClientMessage(playerid, COLOR_LIGHTBLUE, " Please Wait!!");
GameTextForPlayer(playerid, "~b~Bun~y~venit alaturi~r~de noi!", 5000, 3);

if(fexist(string))
{
gPlayerAccount[playerid] = 1;
}
else
{
gPlayerAccount[playerid] = 0;
}
Textdraw41[playerid] = TextDrawCreate(326.000000, 134.000000, " "); // speed gun points
TextDrawAlignment(Textdraw41[playerid], 2);
TextDrawBackgroundColor(Textdraw41[playerid], 255);
TextDrawFont(Textdraw41[playerid], 1);
TextDrawLetterSize(Textdraw41[playerid], 4.499998, 17.899999);
TextDrawColor(Textdraw41[playerid], -1);
TextDrawSetOutline(Textdraw41[playerid], 1);
TextDrawSetProportional(Textdraw41[playerid], 1);
TextDrawUseBox(Textdraw41[playerid], 1);
TextDrawBoxColor(Textdraw41[playerid], 100);
TextDrawTextSize(Textdraw41[playerid], 160.000000, 280.000000);

Textdraw42[playerid] = TextDrawCreate(326.000000, 192.000000, " "); // Speed gun speed string
TextDrawAlignment(Textdraw42[playerid], 2);
TextDrawBackgroundColor(Textdraw42[playerid], 255);
TextDrawFont(Textdraw42[playerid], 1);
TextDrawLetterSize(Textdraw42[playerid], 0.379999, 1.700000);
TextDrawColor(Textdraw42[playerid], -1);
TextDrawSetOutline(Textdraw42[playerid], 1);
TextDrawSetProportional(Textdraw42[playerid], 1);
TextDrawUseBox(Textdraw42[playerid], 1);
TextDrawBoxColor(Textdraw42[playerid], 255);
TextDrawTextSize(Textdraw42[playerid], 10.000000, 280.000000);

return 1;
}
Reply
#6

Maybe because of the empty text draw strings.. Try replacing them with. "-" for example
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)