Spawn Bug - HELP
#6

The code to spawn is this.

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerCameraPos(playerid, 1743.0819,-1860.4438,13.5787);
    SetPlayerCameraLookAt(playerid, 1743.0819,-1860.4438,13.5787);
    SetPlayerPos(playerid, 1743.0819,-1860.4438,13.5787);
    return 1;
}
Here's the other part.

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(PlayerInfo[playerid][pBanned] == 1)
    {
       SendClientMessage(playerid, COLOR_RED, "ERROR: You are banned from this server.");
       Kick(playerid);
    }
    else return SendClientMessage(playerid, COLOR_INFO, "Welcome to the server!");
   
    SetPlayerColor(playerid, COLOR_WHITE);
    new playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername, sizeof(playername));

    new skin = PlayerInfo[playerid][pSkin];
    SetPlayerSkin(playerid, skin);

    printf("[ %s ] has spawned", playername);
    return 1;
   
}
EDIT: the /test command takes me below Blueberry and I fall.
Reply


Messages In This Thread
Spawn Bug - HELP - by SilencedPistol - 28.05.2013, 22:09
Re: Spawn Bug - HELP - by Konewka - 28.05.2013, 22:37
Re: Spawn Bug - HELP - by IceCube! - 28.05.2013, 22:46
Re: Spawn Bug - HELP - by SilencedPistol - 28.05.2013, 23:31
Re: Spawn Bug - HELP - by IceCube! - 29.05.2013, 00:07
Re: Spawn Bug - HELP - by SilencedPistol - 29.05.2013, 00:10
Re: Spawn Bug - HELP - by DobbysGamertag - 29.05.2013, 00:15
Re: Spawn Bug - HELP - by SilencedPistol - 29.05.2013, 00:16
Re: Spawn Bug - HELP - by DobbysGamertag - 29.05.2013, 00:21
Re: Spawn Bug - HELP - by IceCube! - 29.05.2013, 00:23

Forum Jump:


Users browsing this thread: 1 Guest(s)