Jump to content
  • 0

Server Crash


Paul.eboy

Question

Salut.

Am cumparat acum ceva timp un gamemode (stunt),si l-am hostat.

merge serverul cam cateva ore,si imi da crash (se inchide).

care ar putea fi problema?....

Nu imi da erori la compile,nici macar warninguri.

Serverul il puteti vedea la semnatura mea,in caz de va puteti da seama in-game.

www.uifserver.net

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

L-am rezolvat tot eu ... era de la un ceva de genul asta:

public OnPlayerDisconnect(playerid, reason)
{
    //etc.......
    format(string, 128, "%s(%d) a iesit de pe server! [ REASON: %s ]", PlayerName2(playerid), reasonmsg);
    SendClientMessageToAll(-1, string);
    return 1;
}
si trebuia sa fie
public OnPlayerDisconnect(playerid, reason)
{
    //etc.......
    format(string, 128, "%s(%d) a iesit de pe server! [ REASON: %s ]", PlayerName2(playerid), playerid, reasonmsg);
    SendClientMessageToAll(-1, string);
    return 1;
}

Lock topic!

Link to comment
Share on other sites

Guest PlayON

Nu vad, cum codul acela, ar dauna.

Daca folosesti %d,i si parametrul este un string, v-a da 45.

Daca folosesti %s si parametrul este un integer, nu v-a aparea.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.