[help] Server Crash without any errors :S
#5

Quote:
Originally Posted by gamer_Z
pawn Код:
public OnGameModeInit(){
    for(new playerid; playerid < MAX_PLAYERS; playerid++){
        ExpTextdraw[playerid] = TextDrawCreate(302.000000,139.000000,"+1");
        TextDrawAlignment(ExpTextdraw[playerid],0);
        TextDrawBackgroundColor(ExpTextdraw[playerid],0xffffffff);
        TextDrawFont(ExpTextdraw[playerid],3);
        TextDrawLetterSize(ExpTextdraw[playerid],1.000000,2.399999);
        TextDrawColor(ExpTextdraw[playerid],0xff0000ff);
        TextDrawSetOutline(ExpTextdraw[playerid],1);
        TextDrawSetProportional(ExpTextdraw[playerid],1);
        TextDrawSetShadow(ExpTextdraw[playerid],5);
    }
    return 1;
}
Mhmm, that is first time someone said how to do it like that :S everyone on forums said to have it as onplayerconnect...

Do you think this is what is causing the server to crash without warnings/errors or anything?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)