09.10.2016, 15:28
Can someone explain me how to do this??
I want dynamic Dynamic 3DTextlabel. I have this
I got this errors
This is the line
I want dynamic Dynamic 3DTextlabel. I have this
PHP код:
CMD:createlabel(playerid, params[])
{
new Float:x, Float:y, Float:z, tekst[70], Label_ID = SledeciIDLabela();
GetPlayerPos(playerid, x, y, z);
if(sscanf(params, "s", tekst))
{
SCM(playerid, -1, ""SCRV2"Koriscenje: /createlabel [tekst]");
return 1;
}
Label[Label_ID] = CreateDynamic3DTextLabel(tekst, -1, x, y, z, 30.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.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;
}
Код:
C:\Users\Micko\Desktop\Server\gamemodes\Mod.pwn(232) : warning 213: tag mismatch
PHP код:
Label[Label_ID] = CreateDynamic3DTextLabel(tekst, -1, x, y, z, 30.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);