Not working!
#1

i try fixing this but i cant. i dont know why.

pawn Код:
dcmd_backup(playerid,params[])
{
    new
        string[128];
    if(PlayerInfo[playerid][IsCop] == 1 && PlayerInfo[playerid][IsSwatSpawned] == 1 && PlayerInfo[playerid][IsArmySpawned] == 1)
             return SendClientMessage(playerid,red,"You aren't a Law Member");
    if(PlayerInfo[playerid][IsInEvent] == 1)
            return SendClientMessage(playerid,red,"You can't do that in a event!");
    if(sscanf(params,"s",string))
            return SendClientMessage(playerid,red,"USAGE: /backup [where?]");
    else
    for (new i=0; i<MAX_PLAYERS+1; i++) if (IsPlayerConnected(i)) if(PlayerInfo[i][IsCop] == 1 && PlayerInfo[i][IsArmySpawned] == 1 && PlayerInfo[i][IsSwatSpawned] == 1)
    {
        format(string, sizeof(string), "%s(%d) has called for backup in %s!",PlayerName(playerid),playerid,params);
        IRC_GroupSay(gGroupID,IRC_CHANNEL,string);
        SendClientMessage(i,blue,string);
    }
    return true;
}
I tried everything
Reply
#2

what is the error does it gave?
Reply
#3

NOTHING, can you belive that!
Reply
#4

Quote:
Originally Posted by Porsche911
Посмотреть сообщение
NOTHING, can you belive that!
Yes i can believe that. As..it just happened.
Reply
#5

Quote:
Originally Posted by Steven82
Посмотреть сообщение
Yes i can believe that. As..it just happened.
Dont act like that, i need help D:
Reply
#6

Sorry for being a smart ass LOL but im sure, we could fix this faster if there was an error, since i've never even touched IRC shit i have no idea whats wrong .

P.S. Im tired so bad spelling/grammar is going to happen.
Reply
#7

Bump!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)