#1

Can someone explain me how to do this??
I want dynamic Dynamic 3DTextlabel. I have this
PHP код:
CMD:createlabel(playeridparams[])
{
    new 
Float:xFloat:yFloat:ztekst[70], Label_ID SledeciIDLabela();
    
GetPlayerPos(playeridxyz);
    if(
sscanf(params"s"tekst))
    {
        
SCM(playerid, -1""SCRV2"Koriscenje: /createlabel [tekst]");
        return 
1;
    }
    
Label[Label_ID] = CreateDynamic3DTextLabel(tekst, -1xyz30.0INVALID_PLAYER_IDINVALID_VEHICLE_ID0, -1, -1, -1100.0);
    
LabeliInfo[labelid][lText] = tekst;
    
LabeliInfo[labelid][lX] = x;
    
LabeliInfo[labelid][lY] = y;
    
LabeliInfo[labelid][lZ] = z;
    
SacuvajLabele(Label_ID);
    
KreirajLabel(Label_ID);
    
SCM(playerid, -1""SCRV2"[ LABEL ] "HZELENA"Created");
    return 
1;

I got this errors
Код:
C:\Users\Micko\Desktop\Server\gamemodes\Mod.pwn(232) : warning 213: tag mismatch
This is the line
PHP код:
Label[Label_ID] = CreateDynamic3DTextLabel(tekst, -1xyz30.0INVALID_PLAYER_IDINVALID_VEHICLE_ID0, -1, -1, -1100.0); 
Reply
#2

Hello!

PHP код:
Label_ID SledeciIDLabela(); 
to
PHP код:
Text3D:Label_ID SledeciIDLabela(); 
Reply
#3

Nope..
Reply
#4

First off, it's not an error.It's a warning.
Secondly, read this > https://sampforum.blast.hk/showthread.php?tid=274028
You will find an explanation to your problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)