13.05.2011, 11:51
when the mode started i did like this -
and its working.
but when i try to change the map icon with a commands like this -
that's not change !!! why?
here is the SetPlayerMapIconEX -
big thanks for helping !!!!
PHP код:
MapIcon[NumberProp] = SetPlayerMapIconEX(70,-1,NumberProp,dini_Float(fileProp,"x"),dini_Float(fileProp,"y"),dini_Float(fileProp,"z"),31,0);
but when i try to change the map icon with a commands like this -
PHP код:
MapIcon[NumberProp] = SetPlayerMapIconEX(70,-1,NumberProp,dini_Float(fileProp,"x"),dini_Float(fileProp,"y"),dini_Float(fileProp,"z"),32,0);
here is the SetPlayerMapIconEX -
PHP код:
forward SetPlayerMapIconEX(distance,playerid,idprop,Float:x, Float:y, Float:z, type ,style);
public SetPlayerMapIconEX(distance,playerid,idprop,Float:x, Float:y, Float:z, type ,style)
{
style = -1;
idprop = -1;
playerid = -1;
CreateDynamicMapIcon(x, y, z, type, 0, -1, -1, -1, distance);
return 1;
}