Autorespawn vehicles and respawn at a command - question
#8

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success)
    {
        /*SendClientMessage(playerid, Kolor_Administratora, ""MAP_NAME": Command not exist!");*/
    }
    else // this is for eye, when I write /eye 1 - and I'm logged in on a rcon - I see which command wrote a player
    {
        int String[255];
        format(String, sizeof(String), " [EYE] %s (ID: %d) -> %s", Player[playerid][NameOfPlayer], playerid, cmdtext);
        foreach(Player, PlayerId)
        if(PlayerId != playerid)
        if(IsPlayerAdmin(PlayerId) && Player[PlayerId][Eye])
        SendClientMessage(PlayerId, Kolor_Administratora, String);
    }

    return true;
}
Comment that line and see if you still get the message. We just need to make sure the message come from there.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)