One thing, someone help.
#1

pawn Код:
//==========ADMIN CHAT================//
    if(text[0] == '@' && pInfo[playerid][AdminLvl] > 0)
    {
        new AdminName[MAX_PLAYER_NAME], AdminText[128];
        GetPlayerName(playerid,AdminName,sizeof(AdminName));
        format(AdminText,sizeof(AdminText),"%s: %s",AdminName,text[1]);
       
        SendClientMessageToAdmins(0xA954FFFF,AdminText);
        return false;
    }
    //=====================================//
Its good @ [text] but i want to make // [text] is it possible to do that? Because replacing @ with // doesn't work, i get error error 027: invalid character constant
Reply


Messages In This Thread
One thing, someone help. - by Dreftas - 25.06.2009, 19:17
Re: One thing, someone help. - by bigcomfycouch - 25.06.2009, 19:24
Re: One thing, someone help. - by Cezar - 25.06.2009, 19:30
Re: One thing, someone help. - by Dreftas - 25.06.2009, 19:37

Forum Jump:


Users browsing this thread: 2 Guest(s)