SA-MP Forums Archive
color - 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: color (/showthread.php?tid=326962)



color - jimis - 19.03.2012

How i can change the player color ? for example if he type /dm then him color will be change to red. How i can to make a command available only on white color ?For example. The red players will can NOT use the command /cars .
And how i can disarm a player if he type /back then he will lose all weapons

Thanks for reading


Re: color - Dripac - 19.03.2012

Use these functions

https://sampwiki.blast.hk/wiki/ResetPlayerWeapons
https://sampwiki.blast.hk/wiki/Function:SetPlayerColor

You have to create teams, look on wiki how to create them


Re: color - jimis - 19.03.2012

ok thanks