Originally Posted by Samieastwood
13353
PHP код:
if(IsPlayerInRangeOfPoint(playerid, 3.0,240.8950,112.7382,1003.2188,270.1587))//Mistake #1
{//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,104.7559))//#2
{//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,80.0004))//#3
{//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;
}
31729 to 31734
PHP код:
///////////////////// TURN IN POINTS /////////////////////
CreateDynamic3DTextLabel("/turnin",COLOR_DBLUE, 240.8950, 112.7382, 1003.2188, 270.1587,4.0);///turnin(LAPD)//#4
CreatePickup(1247, 23, 240.8950, 112.7382, 1003.2188, 270.1587, -1); // LAPD Turnin#5
CreateDynamic3DTextLabel("/turnin",COLOR_DBLUE, 2531.3040, -1659.8525,562.8000, 104.7559,4.0);///turnin(LASD)#6
CreatePickup(1247, 23, 2531.3040, -1659.8525, 562.8000, 104.7559, -1); // LASD Turnin#7
CreateDynamic3DTextLabel("/turnin",COLOR_DBLUE, 234.9487, 165.0764, 1003.0300, 80.0004,4.0);///turnin(LVMPD)#8
CreatePickup(1247, 23, 234.9487, 165.0764, 1003.0300, 80.0004, -1); // LVMPD Turnin#9
|