SA-MP Forums Archive
Making a Certain Class for a player? - 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: Making a Certain Class for a player? (/showthread.php?tid=283201)



Making a Certain Class for a player? - Swizzzy - 13.09.2011

Sorry for posting another topic but no-one seemed to reply to my old one :S

Well I want to know how to Set a Certain Class for use with a specified player..

If you'd post a code or something here, thank you i't would be hugely appreciated.


Re: Making a Certain Class for a player? - IceCube! - 14.09.2011

pawn Код:
CMD:commnd(playerid)
{
              if (GetPlayerSkin(playerid) ==  Skin)//The line that does all the work
               {
               //code
               }
               return 1;
}