Player Spawn Bug
#10

Quote:
Originally Posted by CrossOv3r
Посмотреть сообщение
Please, try to use this:

pawn Код:
public OnPlayerSpawn(playerid)
{
    //Hide the textdraw when the player spawns
    TextDrawHideForPlayer(playerid, gWelcome);

    //Print a client message to all players when a player spawns
    new name[MAX_PLAYER_NAME];
    new string [128];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s has spawned!", name);
    SendClientMessageToAll(LIGHT_GREEN, string);

    //Set the players coordinates to spawn; put camera behind player
    SetPlayerPos(playerid, 1280.5247,-813.6929,83.6532);
    SetPlayerFacingAngle(playerid, 180.0);
    return 1;
}
Don't use ANY camera function. And I'm surprised about your comment #3.

P.S: Remove OnPlayerRequestSpawn then.

P.S2: Wut dialog? I don't see any dialog function in your code.
If you use OnPlayerRequestSpawn then you'll have a dialog.
Reply


Messages In This Thread
Player Spawn Bug - by Uuri - 08.12.2013, 19:57
Re: Player Spawn Bug - by Chasm - 08.12.2013, 20:09
Re: Player Spawn Bug - by Uuri - 08.12.2013, 20:14
Re: Player Spawn Bug - by Chasm - 08.12.2013, 20:19
Re: Player Spawn Bug - by Uuri - 08.12.2013, 20:22
Re: Player Spawn Bug - by Uuri - 08.12.2013, 23:39
Re: Player Spawn Bug - by CrossOv3r - 09.12.2013, 11:23
Re: Player Spawn Bug - by Uuri - 09.12.2013, 20:13
Respuesta: Player Spawn Bug - by CrossOv3r - 09.12.2013, 20:47
Re: Respuesta: Player Spawn Bug - by Uuri - 09.12.2013, 21:02

Forum Jump:


Users browsing this thread: 2 Guest(s)