SA-MP Forums Archive
Set fight style for national guard - help me with this! - 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: Set fight style for national guard - help me with this! (/showthread.php?tid=127098)



Set fight style for national guard - help me with this! - buonggiorno - 11.02.2010

Hi to all i have one question, is it posibile to set that only members/leaders of national guard have chinese fighting style?
If this is posibile can you tell me what to edit? tnx allot


Re: Set fight style for national guard - help me with this! - aNdReSkKkK - 11.02.2010

public OnPlayerSpawn(playerid)
{

if (PlayerInfo[playerid][team] == ARMY){
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);
}


}



(that checks in my script if player belongs to the army change that to ur national guard leader check)