Change the map icon in the Streamer Plugin function
#1

when the mode started i did like this -
PHP код:
MapIcon[NumberProp] = SetPlayerMapIconEX(70,-1,NumberProp,dini_Float(fileProp,"x"),dini_Float(fileProp,"y"),dini_Float(fileProp,"z"),31,0); 
and its working.

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); 
that's not change !!! why?

here is the SetPlayerMapIconEX -

PHP код:
forward SetPlayerMapIconEX(distance,playerid,idprop,Float:xFloat:yFloat:ztype ,style);
public 
SetPlayerMapIconEX(distance,playerid,idprop,Float:xFloat:yFloat:ztype ,style)
{
style = -1;
idprop = -1;
playerid = -1;
CreateDynamicMapIcon(xyztype0, -1, -1, -1distance);
return 
1;

big thanks for helping !!!!
Reply


Messages In This Thread
Change the map icon in the Streamer Plugin function - by tal_peretz - 13.05.2011, 11:51
Re: Change the map icon in the Streamer Plugin function - by Laronic - 13.05.2011, 13:30
Re: Change the map icon in the Streamer Plugin function - by tal_peretz - 13.05.2011, 14:09

Forum Jump:


Users browsing this thread: 3 Guest(s)