AddPlayerClass problem
#1

I can't see the skin(s) in the class selection...

Codes:

Код:
public OnGameModeInit()
{
	AddPlayerClass(1,2495.7986,-1710.8322,1014.7422,359.7298,5,1,22,1000,30,1000);
        //...
        return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerInterior(playerid, 3);
	SetPlayerPos(playerid,2496.0662,-1700.2719,1014.7422);
        SetPlayerCameraPos(playerid,2495.9863,-1704.4697,1014.7422);
        SetPlayerCameraLookAt(playerid,2495.9805,-1707.0841,1014.7422,2);
        SetPlayerFacingAngle(playerid,179.0601);
	return 1;
}
Screens:

http://www.ch-slike.com/FVCg
http://www.ch-slike.com/FVCA
Reply
#2

Odd, did you set the virtual world?
Reply
#3

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
Odd, did you set the virtual world?
No...
Reply
#4

Anyone?
Reply
#5

First of all, your camera (SetPlayerCameraLookAt) is not even looking at your player... (SetPlayerPos), you should match both the SetPlayerCameraLookAt function coordinates with those listed in SetPlayerPos, unless of course you're looking for an alternative outcome.

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerInterior(playerid, 3);
    SetPlayerPos(playerid,2496.0662,-1700.2719,1014.7422);
    SetPlayerCameraPos(playerid,2495.9863,-1704.4697,1014.7422);
    SetPlayerCameraLookAt(playerid,2496.0662,-1700.2719,1014.7422,2);
    SetPlayerFacingAngle(playerid,180.0);
    return 1;
}
Reply
#6

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
First of all, your camera (SetPlayerCameraLookAt) is not even looking at your player... (SetPlayerPos), you should match both the SetPlayerCameraLookAt function coordinates with those listed in SetPlayerPos, unless of course you're looking for an alternative outcome.

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerInterior(playerid, 3);
    SetPlayerPos(playerid,2496.0662,-1700.2719,1014.7422);
    SetPlayerCameraPos(playerid,2495.9863,-1704.4697,1014.7422);
    SetPlayerCameraLookAt(playerid,2496.0662,-1700.2719,1014.7422,2);
    SetPlayerFacingAngle(playerid,180.0);
    return 1;
}
Thank you,+rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)