Marker Doesnt show up
#1

I need some help about my Backup From my server the Marker that shouldt showup at the map doesnt show up
the lines:

PHP код:
    if(strcmp(cmd,"/backup",true)==|| strcmp(cmd,"/bk",true)==0)
    {
        if(
IsPlayerConnected(playerid))
        {
            if(
IsACop(playerid) || IsAFreecop(playerid))
            {
                if(
PlayerInfo[playerid][pDBanned] == 1)
                {
                    
SendClientMessage(playeridCOLOR_GREY"** You are banned From Cop Duty!");
                    return 
1;
                }
                if(
PlayerInfo[playerid][pDuty] == 0)
                {
                    
SendClientMessage(playeridCOLOR_GREY"** You aren't on duty Duty!");
                    return 
1;
                }
                if (
PlayerInfo[playerid][pRequestingBackup] != 1)
                {
                    
format(stringsizeof(string), "ALL UNITS: %s is requesting immediate assistance, they have been marked on the map (red)."sendername);
                    
PlayerInfo[playerid][pRequestingBackup] = 1;
                    for(new 
0MAX_PLAYERSi++)
                    {
                        if(
IsPlayerConnected(i))
                        {
                            if(
IsACop(i) || IsAFreecop(i))
                            {
                                if(
PlayerInfo[i][pDuty] == 1)
                                {
                                    
SetPlayerMarkerForPlayer(iplayeridCOLOR_YELLOW);
                                    
SendClientMessage(iTEAM_BLUE_COLORstring);
                                }
                            }
                        }
                    }
                    
SendClientMessage(playeridTEAM_BLUE_COLOR"Type /bkc to clear your backup request.");
                    
SetTimerEx("BackupClear"180000false"ii"playerid1);
                    new 
ymd;
                    new 
h,mi,s;
                    
getdate(y,m,d);
                    
gettime(h,mi,s);
                    
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /backup",d,m,y,h,mi,s,sendername);
                    
CommandLog(string);
                }
                else
                {
                    
SendClientMessage(playeridCOLOR_GREY"You already have an active backup request!");
                }
            }
            else
            {
                
SendClientMessage(playeridCOLOR_GREY"You are not a cop!");
            }
        }
        return 
1;
    } 
Reply
#2

I mean It just doenst Shuwup Ther shouldt be A Icon showed into the map but it doesnt
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)