Problem with my command.
#1

Hi, I made a /stealbomb command.

Only the terrorists can steal the bomb, but when I typ /stealbomb at the location, it says unknown command.

When I am not at the location, it also says unknown command + the clientmessage you are not at the point.

Code:

pawn Код:
CMD:stealbomb(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 5.0, 275.3401, 1860.3333, 8.7578))
    {
        if(GetPlayerTeam(playerid) == Terrorists)
        SendClientMessageToAll(COLOR_DARKORANGE, "%s has stolen the bomb!");
    }
    else
    {
        SendClientMessage(playerid, COLOR_RED, "You are not near the stealing point!");
    }
}
Can anyone help me out? Thanks.
Reply


Messages In This Thread
Problem with my command. - by Hand-Scripter - 07.05.2013, 15:21
Re: Problem with my command. - by Yashas - 07.05.2013, 15:30
Re: Problem with my command. - by Mitchy - 07.05.2013, 15:32
Re: Problem with my command. - by Hand-Scripter - 07.05.2013, 15:38
Re: Problem with my command. - by Yashas - 07.05.2013, 15:40
Re: Problem with my command. - by Mitchy - 07.05.2013, 15:40
Re: Problem with my command. - by Yashas - 07.05.2013, 15:43
Re: Problem with my command. - by Mitchy - 07.05.2013, 15:45
Re: Problem with my command. - by Yashas - 07.05.2013, 15:52

Forum Jump:


Users browsing this thread: 2 Guest(s)