Help in dcmd, and GameTextForPlayer
#8

You can fix the DCMD warning by adding
pawn Код:
#pragma unused params
at the top of your command, like this:
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;
}
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!
Reply


Messages In This Thread
Help in dcmd, and GameTextForPlayer - by Goldino - 14.12.2012, 16:51
Re: Help in dcmd, and GameTextForPlayer - by Lz - 14.12.2012, 16:54
Re: Help in dcmd, and GameTextForPlayer - by Goldino - 14.12.2012, 16:55
Re: Help in dcmd, and GameTextForPlayer - by Goldino - 14.12.2012, 17:03
Re: Help in dcmd, and GameTextForPlayer - by Lynet - 14.12.2012, 18:20
Re: Help in dcmd, and GameTextForPlayer - by Lz - 14.12.2012, 18:25
Re: Help in dcmd, and GameTextForPlayer - by Patrick - 14.12.2012, 20:55
Re: Help in dcmd, and GameTextForPlayer - by Mean - 14.12.2012, 23:35
Re: Help in dcmd, and GameTextForPlayer - by Threshold - 15.12.2012, 01:44

Forum Jump:


Users browsing this thread: 2 Guest(s)