31.01.2014, 22:06
IsAtTurnInPoint(playerid)
{
new string[128];
if(IsPlayerConnected(playerid))
{
if(IsPlayerInRangeOfPoint(playerid, 3.0,240.8950,112.7382,1003.218) // Line13353
{//LAPD
if(PlayerInfo[playerid][pWantedLevel] >= 1)
{
format(string, sizeof(string), "%s is a wanted individual, and is surrendering at your station!(LAPD)", GetPlayerNameEx(playerid));
SendRadioMessage(1, DEPTRADIO, string);
}
return 1;
}
else if(IsPlayerInRangeOfPoint(playerid, 4.0, 2531.3040,-1659.8525,562.8000)) Line 13362
{//LASD
if(PlayerInfo[playerid][pWantedLevel] >= 1)
{
format(string, sizeof(string), "%s is a wanted individual, and is surrendering at your station(LASD)!", GetPlayerNameEx(playerid));
SendRadioMessage(7, DEPTRADIO, string);
}
return 1;
}
else if(IsPlayerInRangeOfPoint(playerid, 3.0,234.9487,165.0764,1003.0300)) Line 13371
{//LVMPD
if(PlayerInfo[playerid][pWantedLevel] >= 1)
{
format(string, sizeof(string), "%s is a wanted individual, and is surrendering at your station(LVMPD)!", GetPlayerNameEx(playerid));
SendRadioMessage(19, DEPTRADIO, string);
}
return 1;
}
}
return 0;
}
TRY THIS!
{
new string[128];
if(IsPlayerConnected(playerid))
{
if(IsPlayerInRangeOfPoint(playerid, 3.0,240.8950,112.7382,1003.218) // Line13353
{//LAPD
if(PlayerInfo[playerid][pWantedLevel] >= 1)
{
format(string, sizeof(string), "%s is a wanted individual, and is surrendering at your station!(LAPD)", GetPlayerNameEx(playerid));
SendRadioMessage(1, DEPTRADIO, string);
}
return 1;
}
else if(IsPlayerInRangeOfPoint(playerid, 4.0, 2531.3040,-1659.8525,562.8000)) Line 13362
{//LASD
if(PlayerInfo[playerid][pWantedLevel] >= 1)
{
format(string, sizeof(string), "%s is a wanted individual, and is surrendering at your station(LASD)!", GetPlayerNameEx(playerid));
SendRadioMessage(7, DEPTRADIO, string);
}
return 1;
}
else if(IsPlayerInRangeOfPoint(playerid, 3.0,234.9487,165.0764,1003.0300)) Line 13371
{//LVMPD
if(PlayerInfo[playerid][pWantedLevel] >= 1)
{
format(string, sizeof(string), "%s is a wanted individual, and is surrendering at your station(LVMPD)!", GetPlayerNameEx(playerid));
SendRadioMessage(19, DEPTRADIO, string);
}
return 1;
}
}
return 0;
}
TRY THIS!