[Ajuda] Nick
#3

PHP код:
CMD:label(playerid,params[])

    if(
Open == false
    { 
        new 
string[300], name[24]; 
        
GetPlayerName(playeridname24); 
        
GetPlayerPos(playeridLX[playerid], LY[playerid], LZ[playerid]); 
        if(
isnull(params))return SendClientMessage(playerid, -1,"/Label [TEXTO]"); 
        
format(stringsizeof(string), "Criada com sucesso: %s"name); 
        
SendClientMessage(playerid, -1string); 
        
format(stringsizeof(string), "{FFFFFF}%s - %s"nameparams); 
        
LABEL[playerid] = Create3DTextLabel(string0xFFFFFFFFLX[playerid], LY[playerid], LZ[playerid],20,0,0); 
        
Update3DTextLabelText(LABEL[playerid], 0xFFFFFFFFparams); 
        
Open true
    } 
    else 
    { 

        
Delete3DTextLabel(Text3D:LABEL[playerid]); 
        
SendClientMessage(playerid, -1"Deletada com sucesso!"); 
        
Open false
    } 
    return 
1

Isso ?
Reply


Messages In This Thread
Nick - by Stroon - 25.04.2016, 05:28
Re: Nick - by Artista - 25.04.2016, 09:19
Re: Nick - by RiqueP - 25.04.2016, 13:38
Re: Nick - by Stroon - 25.04.2016, 14:38

Forum Jump:


Users browsing this thread: 1 Guest(s)