[ HELP ] Server switch itself off!
#1

Hi, I'm from Germany, and my English is very bad. I have a problem. My Script switch inself off, after 10 - 20 sec. Pls Help. If you want to see my Scipt, here is my Skypename: Keilbritschn
Reply
#2

here is the pastebin: pastebin.com/ZvWp01xY
Reply
#3

WoW ****** i have just heared about you but never saw... now i know u are a real person
Reply
#4

So, Kiel do you still need help??
Reply
#5

@Varga, I know your happy to see ******, but post it on his guest wall page. Help this guy out with his problem.
Reply
#6

i am tring it but idk how, cuz i havent got his MD5 file...
Reply
#7

pawn Код:
public OnPlayerConnect(playerid)
{
    for(new i;i<MAX_PLAYERS;i++)
    {
    TextDrawShowForPlayer(playerid,BoxOben);
    TextDrawShowForPlayer(playerid,BoxUnten);
    runningmapconnect[playerid] = 1;
    if(runningmap == 0)
    {
        SetTimer("BoxHide",7000,false);
    }
    else
    {
        spec();
    }
    }
    return 1;
}
not sure what are you trying to do here, but that is wrong.

try this:
pawn Код:
public OnPlayerConnect(playerid)
{
        TextDrawShowForPlayer(playerid,BoxOben);
    TextDrawShowForPlayer(playerid,BoxUnten);
    runningmapconnect[playerid] = 1;
    if(runningmap == 0)
    {
        SetTimerEx("BoxHide", 7000, false, "%d", playerid);
    }
    else
    {
        spec();
    }
    return 1;
}
you don't need to loop at OnPlayerConnect, it has a parameter (playerid) to issue commands/functions.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)