04.12.2010, 13:26
hm well when im use this in the GM its works but when im use this in a FS this is does'nt work...
this is suppose to be like this ?
this is suppose to be like this ?
new tmp[3][128];
for(new i=1;i<MAX_HOUSES;i++)
{
split(HouseInf[i][hIcnP],tmp,',');
if(!strcmp(HouseInf[i][hOwner],"ForSale",true))
SetPlayerMapIcon(playerid, 1, floatstr(tmp[0]),floatstr(tmp[1]),floatstr(tmp[2]), 31, 0,MAPICON_GLOBAL);
else SetPlayerMapIcon(playerid, 1, floatstr(tmp[0]),floatstr(tmp[1]),floatstr(tmp[2]), 32, 0,MAPICON_LOCAL);
}