21.03.2012, 16:09
Okay, Thank you all for clearing that up, I just wanted to know if I could skip it or not.
I know about the....
Let me show my code:
I know about the....
pawn Код:
SetPlayerPos
SetPlayerCameraPos
SetPlayerCameraLookAt
Let me show my code:
pawn Код:
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
SetPlayerPos(playerid, 637.6825,857.8131,-50.3321);
SetPlayerCameraPos(playerid, 561.4714,932.8723,24.4060);
SetPlayerCameraLookAt(playerid, 637.6825,857.8131,-40.3321);
TogglePlayerControllable(playerid, false);
new pname[MAX_PLAYER_NAME], string[22 + MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
strreplace(pname, '_', ' ');
format(string, sizeof(string), "%s has joined the server.", pname);
SendClientMessageToAll(COLOR_GREY, string);
PlayAudioStreamForPlayer( playerid, "-----" );
for(new chat = 0; chat <= 100; chat++)
{
SendClientMessage(playerid,COLOR_WHITE," ");
}
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"» Login",""COL_WHITE"-------------------------","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"» Registration",""COL_WHITE"----------------------","Register","Quit");
}
