SA-MP Forums Archive
SKIN Help - 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)
+--- Thread: SKIN Help (/showthread.php?tid=380008)



SKIN Help - trapstar2020 - 23.09.2012

Код:
 
   if(classid >= 1 && classid <= 8 && (PlayerInfo[playerid][pTeam] != 1))
    {
        SendClientMessage(playerid,COLOR_GREEN,"You Ain't For The Law!");
        return 0;
    }
problem that above works 100% but i cannot see skin i want to be able to see skin and still block them


Re: SKIN Help - Squirrel - 23.09.2012

Did you add those skins OnGameModeInit?


Re: SKIN Help - trapstar2020 - 23.09.2012

i use addplayerclass


Re: SKIN Help - Youice - 23.09.2012

please re-explain properly.

Edit: What is blocked?, show us what is underneath 'OnGameModeinit' and 'OnPlayerRequestClass' "the part which belongs to your problem"


Re: SKIN Help - trapstar2020 - 23.09.2012

i cannot see skin underneath gm has Addplayerclass
under requestclass has the post i made but i cannot see skin unless i have have the info i want to be able to see it but cant select the id


Re: SKIN Help - Youice - 23.09.2012

what I can recognize from you , is you want to be able to see the available skins when player is in "OnPlayerRequestClass " In Game, if so, then change the camera cords.

pawn Код:
SetPlayerPos(playerid, X, Y, Z);
SetPlayerCameraPos(playerid, X, Y, Z);
SetPlayerCameraLookAt(playerid, X, Y, Z);
Change all the cords correctly "I recommend you to see tutorial about that if you don't know how to get them"