PM sending ID
#6

pawn Код:
public OnPlayerConnect(playerid)
{
    static name[25];
    GetPlayerName(playerid,name,25);
    if(!strcmp(name,"Champ",true || !strcmp(name,"Super_Champ",true))) {
    static str4[128]; // max size of a mensage is 128 cell it means you can type 128 caracters, so it's not neeeded put more than the max, you would be wasting memory.
    format(str4,sizeof(str4),"[24/7] Freeraom Server Owner {B8FFFF}Champ {2AFF00}Has Connected To Server !");
    SendClientMessageToAll(COLOR_SEAGREEN,str4);
    }
    return 1;
}
SendClientMessageToAll working for name "Champ" only not for "Super_Champ".... basically it does for the first name not the second one

Thank you.
Reply


Messages In This Thread
PM sending ID - by (_AcE_) - 24.07.2012, 17:18
Re: PM sending ID - by Akira297 - 24.07.2012, 17:23
Re: PM sending ID - by (_AcE_) - 24.07.2012, 17:28
Re: PM sending ID - by leonardo1434 - 24.07.2012, 17:29
Re: PM sending ID - by Jeffry - 24.07.2012, 17:35
Re: PM sending ID - by Champ - 24.07.2012, 17:40
Re: PM sending ID - by Jeffry - 24.07.2012, 17:46
Re: help - by Champ - 24.07.2012, 17:52
Re: PM sending ID - by leonardo1434 - 24.07.2012, 18:02
Re: help - by Champ - 24.07.2012, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)