Scripting Help: I get 12 warnings
#3

13353
PHP код:
    if(IsPlayerInRangeOfPoint(playerid3.0,240.8950,112.7382,1003.2188,270.1587))
        {
//LAPD
             
if(PlayerInfo[playerid][pWantedLevel] >= 1)
             {
                
format(stringsizeof(string), "%s is a wanted individual, and is surrendering at your station!(LAPD)"GetPlayerNameEx(playerid));
                
SendRadioMessage(1DEPTRADIOstring);
             }
            return 
1;
        }
        else if(
IsPlayerInRangeOfPoint(playerid4.02531.3040,-1659.8525,562.8000,104.7559))
        {
//LASD
            
if(PlayerInfo[playerid][pWantedLevel] >= 1)
             {
                
format(stringsizeof(string), "%s is a wanted individual, and is surrendering at your station(LASD)!"GetPlayerNameEx(playerid));
                
SendRadioMessage(7DEPTRADIOstring);
             }
            return 
1;
        }
        else if(
IsPlayerInRangeOfPoint(playerid3.0,234.9487,165.0764,1003.0300,80.0004))
        {
//LVMPD
            
if(PlayerInfo[playerid][pWantedLevel] >= 1)
             {
                
format(stringsizeof(string), "%s is a wanted individual, and is surrendering at your station(LVMPD)!"GetPlayerNameEx(playerid));
                
SendRadioMessage(19DEPTRADIOstring);
             }
            return 
1;
        }
     }
    return 
0;

13362
PHP код:
else if(IsPlayerInRangeOfPoint(playerid4.02531.3040,-1659.8525,562.8000,104.7559))
        {
//LASD
            
if(PlayerInfo[playerid][pWantedLevel] >= 1)
             {
                
format(stringsizeof(string), "%s is a wanted individual, and is surrendering at your station(LASD)!"GetPlayerNameEx(playerid));
                
SendRadioMessage(7DEPTRADIOstring);
             }
            return 
1;
        }
        else if(
IsPlayerInRangeOfPoint(playerid3.0,234.9487,165.0764,1003.0300,80.0004))
        {
//LVMPD
            
if(PlayerInfo[playerid][pWantedLevel] >= 1)
             {
                
format(stringsizeof(string), "%s is a wanted individual, and is surrendering at your station(LVMPD)!"GetPlayerNameEx(playerid));
                
SendRadioMessage(19DEPTRADIOstring);
             }
            return 
1;
        }
     }
    return 
0;

13371
PHP код:
    else if(IsPlayerInRangeOfPoint(playerid3.0,234.9487,165.0764,1003.0300,80.0004))
        {
//LVMPD
            
if(PlayerInfo[playerid][pWantedLevel] >= 1)
             {
                
format(stringsizeof(string), "%s is a wanted individual, and is surrendering at your station(LVMPD)!"GetPlayerNameEx(playerid));
                
SendRadioMessage(19DEPTRADIOstring);
             }
            return 
1;
        }
     }
    return 
0;

31729 to 31734
PHP код:
///////////////////// TURN IN POINTS /////////////////////
    
CreateDynamic3DTextLabel("/turnin",COLOR_DBLUE240.8950112.73821003.2188270.1587,4.0);///turnin(LAPD)
    
CreatePickup(124723240.8950112.73821003.2188270.1587, -1); // LAPD Turnin
    
CreateDynamic3DTextLabel("/turnin",COLOR_DBLUE2531.3040, -1659.8525,562.8000104.7559,4.0);///turnin(LASD)
    
CreatePickup(1247232531.3040, -1659.8525562.8000104.7559, -1); // LASD Turnin
    
CreateDynamic3DTextLabel("/turnin",COLOR_DBLUE234.9487165.07641003.030080.0004,4.0);///turnin(LVMPD)
    
CreatePickup(124723234.9487165.07641003.030080.0004, -1); // LVMPD Turnin 
Reply


Messages In This Thread
Scripting Help: I get 12 warnings - by Samieastwood - 22.11.2014, 20:35
Re: Scripting Help: I get 12 warnings - by Indom - 22.11.2014, 20:47
Re: Scripting Help: I get 12 warnings - by Samieastwood - 22.11.2014, 21:03
Re: Scripting Help: I get 12 warnings - by JaysonJee - 22.11.2014, 21:35
Re: Scripting Help: I get 12 warnings - by sammp - 22.11.2014, 21:44
Re: Scripting Help: I get 12 warnings - by Samieastwood - 22.11.2014, 21:46
Re: Scripting Help: I get 12 warnings - by Mic_H - 22.11.2014, 21:55
Re: Scripting Help: I get 12 warnings - by Write - 22.11.2014, 22:00
Re: Scripting Help: I get 12 warnings - by Samieastwood - 22.11.2014, 22:23

Forum Jump:


Users browsing this thread: 1 Guest(s)