[HELP] Attach And 3DTextLabel
#4

Not sure if it will work but try that :\

PHP код:
dcmd_w(playerid,params[])
{
    new 
string[128];
    if(!
strlen(params))
    {
        
SendClientMessage(playerid,COLOR_ERROR,"USAGE: /W (Message)");
        return 
1;
    }
    for(new 
i=0;i<MAX_PLAYERS;i++)
    {
        if(
IsPlayerConnected(i) && GetDistanceBetweenPlayers(playerid,i) < 10)
        {
            
MyLabel CreatePlayer3DTextLabel(playerid,params,COLOR_WHITE,0.0,0.0,0.0);
            
Attach3DTextLabelToPlayer(MyLabelplayerid0.00.00.4);
            return 
1;
        }
    }
    return 
1;

Because i had similar problem before.
Reply


Messages In This Thread
[HELP] Attach And 3DTextLabel - by M0HAMMAD - 11.11.2014, 16:04
Re: [HELP] Attach And 3DTextLabel - by dominik523 - 11.11.2014, 16:11
Re: [HELP] Attach And 3DTextLabel - by M0HAMMAD - 11.11.2014, 16:32
Re: [HELP] Attach And 3DTextLabel - by Glossy42O - 11.11.2014, 16:35
Re: [HELP] Attach And 3DTextLabel - by M0HAMMAD - 11.11.2014, 16:51
Re: [HELP] Attach And 3DTextLabel - by Sawalha - 11.11.2014, 17:11
Re: [HELP] Attach And 3DTextLabel - by M4D - 11.11.2014, 17:11
Re: [HELP] Attach And 3DTextLabel - by Sawalha - 11.11.2014, 17:14
Re: [HELP] Attach And 3DTextLabel - by M0HAMMAD - 11.11.2014, 17:23
Re: [HELP] Attach And 3DTextLabel - by Sawalha - 11.11.2014, 17:32

Forum Jump:


Users browsing this thread: 1 Guest(s)