I can't see my skin's in skin selection - 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: I can't see my skin's in skin selection (
/showthread.php?tid=196375)
I can't see my skin's in skin selection -
AVG_Free - 05.12.2010
I have done everything what typed in here:http: //wiki.sa-mp.com/wiki/PAWN_for_Begginers(to the Introduction on modifing more Callbacks) and when i have entered my test server IP(127.0.0.1) and came to skin selection...i didn't saw any of those skins what i have scripted..i'll put some screens in here(I can't put picture so i'll put a link)
1.in pawno
http://s953.photobucket.com/albums/a...rent=pawno.png
2.skin sellect
http://s953.photobucket.com/albums/a...nt=ingame1.png
3.after I select my skin(i have just pressed shift to spawn)
http://s953.photobucket.com/albums/a...nt=ingame2.png
p.s.
I dont want hem to run like a pussy -.-
thanks in advance
Re: I can't see my skin's in skin selection -
JaTochNietDan - 05.12.2010
Okay, that would be because you do not have the OnPlayerRequestClass function setup so that you can actually see the skin you are selecting.
This is an example that I took from LVDM that comes with the server package.
pawn Код:
public OnPlayerRequestClass(playerid)
{
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
return 1;
}
So what you're doing is basically putting the player somewhere and specifically moving his camera somewhere else to look at his character during the class selection.
As for the "running like a pussy" part, you need to add
To OnGameModeInit.
Re: I can't see my skin's in skin selection -
AVG_Free - 05.12.2010
that helped
thx