what wrong here ?????
#1

pawn Код:
stock SendMessageToClan(COLOR,text[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if (IsPlayerConnected(i))
        {
                 if(GetPlayerClanLevel = 100)
            {
                SendClientMessage(playerid,COLOR,text);
            }
        }
    }
    return 1;
}
:/
Reply
#2

pawn Код:
if(GetPlayerClanLevel(i) == 100)
Reply
#3

noo this is not a problem i solve it is SendClientMessage(i,COLOR,text); not SendClientMessage(playerid,COLOR,text); xD sorry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)