15.03.2015, 19:43
Hi,
I would like know if the possilble show map icons for all players...
Thanks
I would like know if the possilble show map icons for all players...
Thanks
CreateDynamicMapIcon(X, Y, Z, type, color, worldid, inteirorid, playerid, streamdistance)
public OnPlayerConnect(playerid)
{
SetPlayerMapIcon(playerid, iconid, Float:x, Float:y, Float:z, markertype, color, style);
return 1;
}
for(new i = 0; i <MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
SetPlayerMapIcon(i, iconid, Float:x, Float:y, Float:z, markertype, color, style);
}
return 1;
}
CreateDynamicMapIcon(Float:x, Float:y, Float:z, type, color, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0, style = MAPICON_LOCAL);