[Help] Setting login screen angle -
MarinacMrcina - 10.05.2012
I want that my login screen is facing the VW sign not like this
http://imageshack.us/photo/my-images/856/samp003oz.png/
Under what should I put the player cordinates and how i can remove the bottom class selection arrows?
Thanks.
Re: [Help] Setting login screen angle -
ikey07 - 10.05.2012
Spawn player and set player cam pos again
Re: [Help] Setting login screen angle -
MarinacMrcina - 11.05.2012
It looks like this now again...
/imageshack/img600/1629/samp004wk.png
Код:
public OnPlayerConnect(playerid)
{
SetPlayerCameraPos(playerid, 1108.7909,-839.2827,111.9381);
SetPlayerCameraLookAt(playerid, 1109.7909,-840.2827,111.9281);
new datoteka[64];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(datoteka,sizeof(datoteka),"/korisnici/%s.txt",name);
if(dini_Exists(datoteka))
{
ShowPlayerDialog(playerid,LOGIRANJE,DIALOG_STYLE_PASSWORD,"{FF0000} PRIJAVA","{00FF00}_______________________________\n\n Vaљ Acount je pronaden!\n\n Molimo unesite vaљu lozinku:\n_______________________________","Logiraj","Odustani");
}
else
{
ShowPlayerDialog(playerid,REGISTRACIJA,DIALOG_STYLE_PASSWORD,"{FF0000} Registracija","{FF0000}_______________________________\n\n Molim unesite zeljenu lozinku:\n_______________________________","Registriraj","Odustani");
}
return 1;
}
And how do I remove the arrows down on this picture
/imageshack/img220/3918/samp005ut.png ?
Re: [Help] Setting login screen angle -
iGetty - 11.05.2012
To remove the arrows; use:
TogglePlayerSpectating(playerid, 0);
Re: [Help] Setting login screen angle -
MarinacMrcina - 11.05.2012
Quote:
Originally Posted by iGetty
To remove the arrows; use:
TogglePlayerSpectating(playerid, 0);
|
Does not work,maybe because I'm using 0.3e ?
Re: [Help] Setting login screen angle -
iGetty - 11.05.2012
I don't know, because it works with me? :S
Re: [Help] Setting login screen angle -
MarinacMrcina - 11.05.2012
I will try to find the 0.3d server and put it there maybe it will work...
After I have tried to put the cordinates everywhere in the script and at OnPlayerRequestClass it shows me finaly the correct screen:
/imageshack/img528/6743/samp006vzu.png
All i want is to put
this login screen:
/imageshack/img600/1629/samp004wk.png
to
this "background":
/imageshack/img528/6743/samp006vzu.png
Re: [Help] Setting login screen angle -
nickdodd25 - 13.05.2012
Well i have been playing around with this myself and i got it to work, first put this under onplayerconnect
pawn Код:
SetTimerEx("PConnect",500,false,"i",playerid);
Then edit these coords to your likeings
pawn Код:
forward PConnect(playerid);
public PConnect(playerid)
{
SetPlayerPos(playerid, 1600.2449, -2451.2734, 102.7522);
SetPlayerCameraPos(playerid, 1600.2449, -2451.2734, 103.7522);
SetPlayerCameraLookAt(playerid, 1599.3719, -2451.7661, 103.4921);
return 1;
}
these coords will make it look here...
[IMG]
[/IMG]
Some reason xfire delets the chat and all dialogs idk why but my registration dialog and chat is right there, now it wont go to this right away it will take 500 ms "half second" for it to switch.
Enjoy!!