[HELP] Does not show text
#5

pawn Код:
dcmd_rg(playerid, params[])
{
   new string[256], name[MAX_PLAYER_NAME], text[150];
   if(GetPlayerSkin(playerid) == 105 || GetPlayerSkin(playerid) == 106 || GetPlayerSkin(playerid) == 107)
        {
        if(sscanf(params,"s",text)) return SendClientMessage(playerid,raudona,"USAGE: /rg [text]");
        GetPlayerName(playerid, name, MAX_PLAYER_NAME);
        format(string, sizeof(string),"{DB881A}[PR] {E3B924}%s: %s", name, text);
        printf("RP %s: %s",name, text);
        if(GetPlayerSkin(playerid) == 106) for(new i; i < MAX_PLAYERS; i++) if(GetPlayerSkin(i) == 106) SendClientMessage(i, color, msg);
        else if(GetPlayerSkin(playerid) == 105) for(new i; i < MAX_PLAYERS; i++) if(GetPlayerSkin(i) == 105) SendClientMessage(i, color, msg);
        else if(GetPlayerSkin(playerid) == 107) for(new i; i < MAX_PLAYERS; i++) if(GetPlayerSkin(i) == 107) SendClientMessage(i, color, msg);
        }
        else return SendClientMessage(playerid,raudona,"You are not this gang member!");
    return 1;
}
Was too lazy this time.
Reply


Messages In This Thread
[HELP] Does not show text - by V4at - 25.06.2012, 18:26
Re: [HELP] Does not show text - by Grand_Micha - 25.06.2012, 18:32
Re: [HELP] Does not show text - by kbalor - 25.06.2012, 18:35
Re : [HELP] Does not show text - by V4at - 25.06.2012, 18:35
Re: [HELP] Does not show text - by Grand_Micha - 25.06.2012, 18:47
Re : [HELP] Does not show text - by V4at - 25.06.2012, 18:59
Re: [HELP] Does not show text - by Grand_Micha - 25.06.2012, 19:04

Forum Jump:


Users browsing this thread: 1 Guest(s)