[Q] SetPlayerMapIcon
#1

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 ?
Reply
#2

Not really, a function should be universal.

Show us some code, maybe it's your fault.
Reply
#3

well i got 1 to work in a FS...but this si was just one line to show where the bank is...
but i coded house system and i thought to add Map Icons but this script doesn't work :\
pawn Код:
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);
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)