3dtext and attach to player..
#1

pawn Код:
if (realchat)
    {
      if(gPlayerLogged[playerid] == 0)
      {
        return 0;
    }
    if(IsPlayerInAnyVehicle(playerid))
      {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "%s Says: %s", sendername, text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        }
        else
        {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "%s Says: %s", sendername, text);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            //ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,0,0,1,1);
        }
        return 0;
    }
i need when player Says something it will create a 3d text above his head with the text he wrote and if he wrote something new it will update the text.

sorry for the request but i cannot get that working that command is new to me I've tried everything on wiki... still cant.. thanks for your time a nd help.
Reply
#2

Check SetPlayerChatBubble
Reply
#3

Quote:
Originally Posted by bilakispa
dude i thowt there is no such thing lol ok let me try thanks.!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)