Creating Chat Bubble with command?
#1

Hello guys, does anybody know how to create a chat bubble with a command?

pawn Код:
dcmd_headtext(playerid,params[]) {
    if(PlayerInfo[playerid][Level] >= 1) {
        if(strlen(params) > 128) return 0;
        new to_others[MAX_CHATBUBBLE_LENGTH+1];
        SendClientMessage(playerid, red, "You have set your head text message to %s",params);
        format(to_others,MAX_CHATBUBBLE_LENGTH, "%s",params);
        return SetPlayerChatBubble(playerid,to_others,red,35.0,10000);
    } else return SendClientMessage(playerid,red,"ERROR: Your level is not high enough");
}
I tried it, but the server crashed when using the code above. I know that I probably failed hardly with that.
Reply


Messages In This Thread
Creating Chat Bubble with command? - by Julian12345 - 22.05.2011, 18:24
Re: Creating Chat Bubble with command? - by Seven_of_Nine - 22.05.2011, 18:32
Re : Creating Chat Bubble with command? - by Myk3l - 22.05.2011, 18:36
AW: Creating Chat Bubble with command? - by Julian12345 - 22.05.2011, 19:14
Re: Creating Chat Bubble with command? - by Seven_of_Nine - 23.05.2011, 04:55

Forum Jump:


Users browsing this thread: 2 Guest(s)