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.