SA-MP Forums Archive
Help? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help? (/showthread.php?tid=599419)



Help? - N0FeaR - 25.01.2016

What wrong here cant see the problem

PHP код:
./includes/functions.pwn(14860) : warning 213tag mismatch 
Код:
  			CreateDynamic3DTextLabel("{FFFFFF}[{339900}Property{FFFFFF}]",0x00AE00FF,HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]+0.75, 25.0, 1, -1, 100.0);



Re: Help? - Sascha - 25.01.2016

Which streamer are you using?

is this incognito's streamer?
if so, my version says parameters are:
Код:
CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_3D_TEXT_LABEL_SD);
that would missfit on the "testlos" as you are using a float for that (if it's incognito's with version 2.0)



P.S.: I'd use "INVALID_VEHICLE_ID" instead of "-1" if that is the "attachedvehicle" in your version


Re: Help? - N0FeaR - 25.01.2016

Quote:
Originally Posted by Sascha
Посмотреть сообщение
Which streamer are you using?

is this incognito's streamer?
if so, my version says parameters are:
Код:
CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_3D_TEXT_LABEL_SD);
that would missfit on the "testlos" as you are using a float for that (if it's incognito's with version 2.0)



P.S.: I'd use "INVALID_VEHICLE_ID" instead of "-1" if that is the "attachedvehicle" in your version
Now i use this but still same warning

Код:
CreateDynamic3DTextLabel("{FFFFFF}[{339900}Property{FFFFFF}]",0x00AE00FF,HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]+0.75, 25.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, 100.0);



Re: Help? - Sascha - 25.01.2016

You didn't get the idea of "parameters"... The order is to be followed.
First thing is the text and needs to be a string, then comes the color, after that the for floats of the positions and drawdistance..
after that we have INTEGERS:
attachedplayer, attachedvehicle, testlos, worldid, interiord, playerid
and then again the float for streamdistances

so you would need something like:
Код:
CreateDynamic3DTextLabel("{FFFFFF}[{339900}Property{FFFFFF}]",0x00AE00FF,HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]+0.75, 25.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);



Re: Help? - N0FeaR - 25.01.2016

Quote:
Originally Posted by Sascha
Посмотреть сообщение
You didn't get the idea of "parameters"... The order is to be followed.
First thing is the text and needs to be a string, then comes the color, after that the for floats of the positions and drawdistance..
after that we have INTEGERS:
attachedplayer, attachedvehicle, testlos, worldid, interiord, playerid
and then again the float for streamdistances

so you would need something like:
Код:
CreateDynamic3DTextLabel("{FFFFFF}[{339900}Property{FFFFFF}]",0x00AE00FF,HouseInfo[houseid][hExteriorX], HouseInfo[houseid][hExteriorY], HouseInfo[houseid][hExteriorZ]+0.75, 25.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);
Ohh i see, thank you dude for the help rep