SA-MP Forums Archive
character selecion? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: character selecion? (/showthread.php?tid=103742)



character selecion? - security - 21.10.2009

When i enter my server i dont see characters at the character selection menu when i entered the server i can see the character.
Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, -1987.5065, 138.0074, 27.5391);
	SetPlayerCameraPos(playerid, -1987.1953,137.8105,27.5391);
	SetPlayerCameraLookAt(playerid, -1987.1953,137.8105,27.5391);
	return 1;
}



Re: character selecion? - pagie1111 - 21.10.2009

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, -1987.5065, 138.0074, 27.5391);
    SetPlayerCameraPos(playerid, -1987.1953,137.8105,27.5391);
    SetPlayerCameraLookAt(playerid, -1987.5065, 138.0074, 27.5391);// these co-ords should be the same as SetPlayerPos
    return 1;
}



Re: character selecion? - security - 21.10.2009

Quote:
Originally Posted by Enemy_Plus[SA:MP
]
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, -1987.5065, 138.0074, 27.5391);
    SetPlayerCameraPos(playerid, -1987.1953,137.8105,27.5391);
    SetPlayerCameraLookAt(playerid, -1987.5065, 138.0074, 27.5391);// these co-ords should be the same as SetPlayerPos
    return 1;
}
I changed it but now i am with the camera in the ass of the characters xD


Re: character selecion? - Streetplaya - 21.10.2009

Quote:
Originally Posted by security
Quote:
Originally Posted by Enemy_Plus[SA:MP
]
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, -1987.5065, 138.0074, 27.5391);
    SetPlayerCameraPos(playerid, -1987.1953,137.8105,27.5391);
    SetPlayerCameraLookAt(playerid, -1987.5065, 138.0074, 27.5391);// these co-ords should be the same as SetPlayerPos
    return 1;
}
I changed it but now i am with the camera in the ass of the characters xD
Then you'll need to adjust the position of the camera.


Re: character selecion? - saiberfun - 21.10.2009

Quote:
Originally Posted by security
Quote:
Originally Posted by Enemy_Plus[SA:MP
]
is your server homo? lol jks :P
? XD
because the asswatchin


Quote:
Originally Posted by security
Quote:
Originally Posted by Enemy_Plus[SA:MP
]
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, -1987.5065, 138.0074, 27.5391);
    SetPlayerCameraPos(playerid, -1987.1953,137.8105,27.5391);
    SetPlayerCameraLookAt(playerid, -1987.5065, 138.0074, 27.5391);// these co-ords should be the same as SetPlayerPos
    return 1;
}
I changed it but now i am with the camera in the ass of the characters xD



Re: character selecion? - CAR - 21.10.2009

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, -1987.5065, 138.0074, 27.5391);
SetPlayerCameraPos(playerid, -1987.1953,139.8105,27.5391);
SetPlayerCameraLookAt(playerid, -1987.5065, 138.0074, 27.5391);// these co-ords should be the same as SetPlayerPos
return 1;
}
Maybe this works?


Re: character selecion? - saiberfun - 21.10.2009

Quote:
Originally Posted by CAR
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, -1987.5065, 138.0074, 27.5391);
SetPlayerCameraPos(playerid, -1987.1953,139.8105,27.5391);
SetPlayerCameraLookAt(playerid, -1987.5065, 138.0074, 27.5391);// these co-ords should be the same as SetPlayerPos
return 1;
}
Maybe this works?
he told already that it does


Re: character selecion? - security - 21.10.2009

Quote:
Originally Posted by ┤ŞąiBЄЯҒПŋ├
Quote:
Originally Posted by CAR
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, -1987.5065, 138.0074, 27.5391);
SetPlayerCameraPos(playerid, -1987.1953,139.8105,27.5391);
SetPlayerCameraLookAt(playerid, -1987.5065, 138.0074, 27.5391);// these co-ords should be the same as SetPlayerPos
return 1;
}
Maybe this works?

yeah it works what i now did i did self something becouse other stuff didnt work but now the characters are lookng other direction ? XD
he told already that it does



Re: character selecion? - Cr0ssFir3 - 21.10.2009

Go in front of your SetPlayerPos position and ge tthe coords them put it on SetPlayerCameraPos and SetPlayerCameraLookAt.


SetPlayerPos cant be the same as SetPlayerCameraPos and SetPlayerCameraLookAt.


Re: character selecion? - CAR - 21.10.2009

Quote:
Originally Posted by ┤ŞąiBЄЯҒПŋ├
Quote:
Originally Posted by CAR
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, -1987.5065, 138.0074, 27.5391);
SetPlayerCameraPos(playerid, -1987.1953,139.8105,27.5391);
SetPlayerCameraLookAt(playerid, -1987.5065, 138.0074, 27.5391);// these co-ords should be the same as SetPlayerPos
return 1;
}
Yes, but I tried to set the camera pos int the front
Maybe this works?
he told already that it does