Advertisement
#7

when anyone advertise a server ip through this cmd then they should get banned.
pawn Код:
CMD:me(playerid,params[]) {
    new Message[128], sendername[MAX_PLAYER_NAME];
    new actiontext[MAX_CHATBUBBLE_LENGTH+1];
    new metext[MAX_CHATBUBBLE_LENGTH+1];
    new pname[24],string[128];
    GetPlayerName(playerid,pname,sizeof(pname));
    if (sscanf(params, "s", Message)) return SendMessageToPlayer(playerid, COLOR_LIGHTBLUE, "USAGE: /me <text>");
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(actiontext,MAX_CHATBUBBLE_LENGTH,"* %s",Message);
    format(metext,MAX_CHATBUBBLE_LENGTH,"*%s %s",sendername,Message);
    SetPlayerChatBubble(playerid,actiontext,ACTION_COLOR,30.0,10000);
    SendMessageToAll(NICE_PINK,metext);
    return 1;}
Reply


Messages In This Thread
Advertisement - by Alexander_123 - 12.01.2012, 18:20
Re: Advertisement - by Scenario - 12.01.2012, 18:24
Re: Advertisement - by Alexander_123 - 12.01.2012, 18:35
Re: Advertisement - by Twinki1993 - 12.01.2012, 18:51
Re: Advertisement - by Alexander_123 - 12.01.2012, 19:13
Re: Advertisement - by Ash. - 12.01.2012, 19:13
Re: Advertisement - by Alexander_123 - 12.01.2012, 19:21
Re: Advertisement - by Ash. - 12.01.2012, 19:23
Re: Advertisement - by Alexander_123 - 12.01.2012, 19:26
Re: Advertisement - by Alexander_123 - 12.01.2012, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)