I can't see my skin's in skin selection
#1

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
Reply
#2

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

pawn Код:
UsePlayerPedAnims();
To OnGameModeInit.
Reply
#3

that helped
thx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)