Problem with /sendstrike
#2

Basically you want it to work everywhere as I understood, right?

pawn Код:
CMD:sendstrike(playerid, params[])
{
    if(sscanf(params, "fffd", posstrike[0], posstrike[1], posstrike[2])) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /sendstrike [X Coordinate] [Y Coordinate] [Z Coordinate]");

    //if(IsPlayerInRangeOfPoint(playerid, 40, -370.26,2979.20,48.85))
    //{
        SendClientMessageEx(playerid, COLOR_GRAD2, " A Mortar Strike is En-Route to the Target Coordinates from Demorgan( 12 Seconds ) ");
        SetTimer("StrikeTime", 12000, 0);
        SetTimer("StrikeTimeWarning", 9000, 0);
    //}
    /*else if(IsPlayerInRangeOfPoint(playerid, 100, 422.130493,-2235.775146,20.270313))
    {
        SendClientMessageEx(playerid, COLOR_GRAD2, " A Mortar Strike is En-Route to the Target Coordinates from the Carrier ( 10 Seconds ) ");
        SetTimer("StrikeTime", 10000, 0);
        SetTimer("StrikeTimeWarning", 7000, 0);
    }
    else
    {
        SendClientMessageEx(playerid, COLOR_GRAD2, " You are not in-range of the Altillery Control ");
    }*/

    return 1;
}
Reply


Messages In This Thread
Problem with /sendstrike - by McFellow - 28.07.2012, 22:18
Re: Problem with /sendstrike - by Alexis1999 - 28.07.2012, 22:26

Forum Jump:


Users browsing this thread: 1 Guest(s)