SA-MP Forums Archive
Cant see skins - 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: Cant see skins (/showthread.php?tid=133186)



Cant see skins - Dolph - 11.03.2010





I cant see the skin selection.. help?


Re: Cant see skins - lameguy - 11.03.2010

You have more than one player class?
If you only have one class, you can't see anything.


Re: Cant see skins - GMusicOn - 11.03.2010

Your coordinates are wrong.



Re: Cant see skins - M1K1 - 11.03.2010

CameraPos and PlayerPos are on a place (sry for my bad enlish xd)


Re: Cant see skins - Dolph - 24.03.2010

Quote:
Originally Posted by M1K1
CameraPos and PlayerPos are on a place (sry for my bad enlish xd)
What do u mean?


Re: Cant see skins - XRVX - 24.03.2010

Quote:
Originally Posted by ee100
Quote:
Originally Posted by M1K1
CameraPos and PlayerPos are on a place (sry for my bad enlish xd)
What do u mean?
he means that the skins are standing somewhere else and not where the camera is
check your coordinates of the skins


Re: Cant see skins - Dolph - 27.03.2010

I have tried, but I really dont under stand the CameraLookAt.. Mind edit what I have done wrong?



Код:
public OnPlayerRequestClass(playerid, classid)
{

	SetPlayerPos(playerid, 2020.6265, 1007.7409, 10.8203);
	SetPlayerCameraPos(playerid, 2020.6265, 1007.7409, 10.8203);
	SetPlayerCameraLookAt(playerid, 2020.6265, 1007.7409, 10.8203);
	SetPlayerColor(playerid, 0xFFFFFF);
	return 1;
}
I am sorry if I am a little nub, its just that PAWNO is new to me :]


Re: Cant see skins - benlevi - 27.03.2010

OnGameModeInt:

Код:
	for(new c = 0;c < 400; c++)
	{
		AddPlayerClass(c,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
	}



Re: Cant see skins - Babul - 28.03.2010

you are using the same coords 3 times. the camera is actually watching the character, but its not far enough to be in front of the "lens". so just modify the cameras' position to 2 units west (x-axis -2), so it becomes:
Код:
public OnPlayerRequestClass(playerid, classid)
{

	SetPlayerPos(playerid, 2020.6265, 1007.7409, 10.8203);
	SetPlayerCameraPos(playerid, 2018.6265, 1007.7409, 10.8203);
	SetPlayerCameraLookAt(playerid, 2020.6265, 1007.7409, 10.8203);
	SetPlayerColor(playerid, 0xFFFFFF);
	return 1;
}



Re: Cant see skins - Correlli - 28.03.2010

Quote:
Originally Posted by benlevi
OnGameModeInt:

Код:
	for(new c = 0;c < 400; c++)
	{
		AddPlayerClass(c,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
	}
Player will crash on invalid skin-IDs.