07.04.2017, 21:41
PHP код:
if(newkeys == KEY_SECONDARY_ATTACK)// Se apertar F
{
if(IsPlayerInRangeOfPoint(playerid, 1.0, 982.7241,2852.7085,39.3868))
{
FavArmas1(playerid);
if(IsPlayerInRangeOfPoint(playerid, 1.0, 2217.8325,-1055.1315,46.0143))
{
FavArmas2(playerid);
if(IsPlayerInRangeOfPoint(playerid, 1.0, 2870.7864,1832.2793,17.5868))
{
FavArmas3(playerid);
if(IsPlayerInRangeOfPoint(playerid, 1.0, 2289.9727,535.5864,1.7944))
{
FavArmas4(playerid);
if(IsPlayerInRangeOfPoint(playerid, 1.0, -1658.7308,2486.9827,87.0846))
{
FavArmas5(playerid);
if(IsPlayerInRangeOfPoint(playerid, 1.0, -1035.2980,-582.4367,32.0078))
{
FavArmas6(playerid);
if(IsPlayerInRangeOfPoint(playerid, 1.0, 31.0573,832.1050,37.6265))
{
FavArmas7(playerid);
if(IsPlayerInRangeOfPoint(playerid, 1.0, 27.6481,1987.6099,20.3541))
{
FavArmas8(playerid);
if(IsPlayerInRangeOfPoint(playerid, 1.0, 1406.6753,794.4315,18.1106))
{
FavArmas9(playerid);
if(IsPlayerInRangeOfPoint(playerid, 1.0, 2605.5718,-98.5252,50.1300))
{
FavArmas10(playerid);
if(IsPlayerInRangeOfPoint(playerid, 1.0, 930.9376,1379.0717,10.9644))
{
FavArmas11(playerid);