14.12.2012, 23:35
You can fix the DCMD warning by adding
at the top of your command, like this:
This is typical with DCMD.
About colors, you can use ~p~ for pink as far as I remember, but I don't think you can do the rest.
Either consider changing the team colors or use textdraws - they support any color!
pawn Код:
#pragma unused params
pawn Код:
dcmd_heal(playerid,params[]) {
#pragma unused params
if(AccInfo[playerid][Level] >= 1) {
SetPlayerHealth(playerid, 100);
SetGameTextForPlayer(playerid, "You have been healed", 4, 3000);
}
return 1;
}
About colors, you can use ~p~ for pink as far as I remember, but I don't think you can do the rest.
Either consider changing the team colors or use textdraws - they support any color!