Help with my /givetag command.
#2

pawn Код:
CMD:givetag(playerid, params[])
{
    new targetid; new text[128]; new color;
    if(sscanf(params, "us[128]s",targetid, text, color)) return SendClientMessage(playerid, COLOR_ORANGE, "Usage: /givetag (ID) (Text) (Color) ");
    if(!strcmp(color, "green", true, 5))
    {
        SetPlayerChatBubble(targetid, text, /*green color*/, 100.0, 600000);
    }
//so on
    return 1;
}
try it
Reply


Messages In This Thread
Help with my /givetag command. - by Magic_Time - 28.12.2012, 16:12
Re: Help with my /givetag command. - by [HK]Ryder[AN] - 28.12.2012, 16:20
Re: Help with my /givetag command. - by Diorturato - 28.12.2012, 16:21
Re: Help with my /givetag command. - by Magic_Time - 28.12.2012, 16:28
Re: Help with my /givetag command. - by Diorturato - 28.12.2012, 16:34
Re: Help with my /givetag command. - by Magic_Time - 28.12.2012, 16:38
Re: Help with my /givetag command. - by Diorturato - 28.12.2012, 16:44
Re: Help with my /givetag command. - by Magic_Time - 28.12.2012, 16:56

Forum Jump:


Users browsing this thread: 1 Guest(s)