SA-MP Forums Archive
SpawnPlayer stopped working - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: SpawnPlayer stopped working (/showthread.php?tid=241793)



SpawnPlayer stopped working - DartakousLien - 18.03.2011

Function stopped working.
On my server to log the first time I use a login system and then sets the position of the player, or will not bugar But if I die I want it to spawn, meaning that the callback function was called by OnPlayerSpawn SpawnPlayer But this does not happen because SpawnPlayer crashed.

Can anyone help me?


Re: SpawnPlayer stopped working - Raz0r1000 - 18.03.2011

You probably need to post some code...


Re: SpawnPlayer stopped working - Jochemd - 18.03.2011

It works fine for me. And wrong section though :P


Re: SpawnPlayer stopped working - DartakousLien - 18.03.2011

not exactly as I've explained how this

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(gPlayerLogged[playerid] != 1)
    {
         //here has the functions of my server... (login)
    }
    else
    {
       SpawnPlayer(playerid);
    }
    return 1;
}
public OnPlayerSpawn(playerid)
{
    //here has the functions of my server...
    return 1;
}



Re: SpawnPlayer stopped working - DartakousLien - 18.03.2011

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
It works fine for me. And wrong section though :P
it worked for me too, until today ...
sorry for the mistake