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=563458)



color - s3ek - 16.02.2015

how to change Color Armour and health player when using Command ?
help me

PHP код:
CMD:god(playerid,params[]) {
    
#pragma unused params
    
if(PlayerInfo[playerid][Level] >= || IsPlayerAdmin(playerid)) {
        if(
PlayerInfo[playerid][God] == 0)    {
               
PlayerInfo[playerid][God] = 1;
            
SetPlayerHealth(playerid,100000);
            
GivePlayerWeapon(playerid,16,50000); GivePlayerWeapon(playerid,26,50000);
               
SendClientMessage(playerid,green,"GODMODE ON");
            return 
CMDMessageToAdmins(playerid,"GOD");
        } else {
               
PlayerInfo[playerid][God] = 0;
               
SendClientMessage(playerid,red,"GODMODE OFF");
            
SetPlayerHealth(playerid100);
        } return 
GivePlayerWeapon(playerid,35,0);
    } else return 
SendClientMessage(playerid,red,"ERROR: You need to Be Rcon admin to Use /god");




Re: bar color - s3ek - 16.02.2015

not bar just Color Armour and health player


Respuesta: color - !R1Ch@rD! - 16.02.2015

You can not change or even not to my knowledge no


Re: color - JonathanFeitosa - 16.02.2015

Use progressbar.