Jump to content
  • 0

pomoc Errory a warningy


FrOsTy14

Dotaz

Zdravím chtěl bych se zeptat jak to opravit, upravuji si gamemode z dini na dof2 a dalo mi tam tady tohle

warning 219: local variable "x" shadows a variable at a preceding level
warning 219: local variable "y" shadows a variable at a preceding level
warning 219: local variable "z" shadows a variable at a preceding level
error 035: argument type mismatch (argument 2)
warning 213: tag mismatch
warning 213: tag mismatch
warning 213: tag mismatch
warning 203: symbol is never used: "z"
warning 203: symbol is never used: "y"
warning 203: symbol is never used: "x"
code
	new Float:x, Float:y, Float:z;
		GetPlayerPos(playerid, x, y, z);
		icon2 = CreateDynamicMapIcon(x,y,z,0,MAPICON_GLOBAL);

 

Link to comment
Share on other sites

4 odpovědí na tuto otázku

Recommended Posts

  • 0

CreateDynamicMapIcon(Float:x, Float:y, Float:z, type, color, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0, style = MAPICON_LOCAL);
Link to comment
Share on other sites

  • 0
CreateDynamicMapIcon(Float:x, Float:y, Float:z, type, color, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0, style = MAPICON_LOCAL);

Pořád

icon2 = CreateDynamicMapIcon(x,y,z,1,COLOR_GREEN, -1, -1, -1, 100.0, MAPICON_LOCAL);
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...