SpawnPlayer stopped working
#1

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?
Reply
#2

You probably need to post some code...
Reply
#3

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

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;
}
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)