Explotion help
#5

Quote:
Originally Posted by Forbidden
Посмотреть сообщение
You could say it...
I do this like I think this is right..
Do a for loop, do a variable up to 500, if the variable ends by the 500th "Explosion", stop the loop.
If you want, that someone dont want to come so near to you, there are better methods.
See, this all confuses me so much, could you give me a example of a cmd for this? That would prob help a lot.

EDIT: Something like this?
Код:
CMD:explode(playerid, params[])
{
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    new Float:x, Float:y, Float:z;
    {
        CreateExplosion(x, y, z, 11, 25.0); 
        SetPlayerArmour(playerid, 1000000000.0);
        SetPlayerHealth(playerid, 1000000000.0);
        SetTimerEx("Explode", 500, 0, "d", playerid);
    }
    else
    {
        ClearAnimations(playerid);
        SetPlayerArmour(playerid, 100.0);
        SetPlayerHealth(playerid, 100.0);
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
Explotion help - by MichaelWharton101 - 23.07.2013, 03:09
AW: Explotion help - by Forbidden - 23.07.2013, 03:14
Re: AW: Explotion help - by MichaelWharton101 - 23.07.2013, 03:17
AW: Re: AW: Explotion help - by Forbidden - 23.07.2013, 03:24
Re: AW: Re: AW: Explotion help - by MichaelWharton101 - 23.07.2013, 03:25
AW: Explotion help - by Forbidden - 23.07.2013, 03:32
Re: AW: Explotion help - by MichaelWharton101 - 23.07.2013, 03:36
AW: Explotion help - by Forbidden - 23.07.2013, 03:39
Re: Explotion help - by MichaelWharton101 - 23.07.2013, 03:41
AW: Explotion help - by Forbidden - 23.07.2013, 03:42
Re: AW: Explotion help - by MichaelWharton101 - 23.07.2013, 03:44
AW: Explotion help - by Forbidden - 23.07.2013, 03:47
Re: AW: Explotion help - by MichaelWharton101 - 23.07.2013, 03:49
AW: Explotion help - by Forbidden - 23.07.2013, 04:00
Re: Explotion help - by MichaelWharton101 - 23.07.2013, 04:01
AW: Explotion help - by Forbidden - 23.07.2013, 04:11
Re: AW: Explotion help - by MichaelWharton101 - 23.07.2013, 04:14
AW: Explotion help - by Forbidden - 23.07.2013, 04:19
Re: Explotion help - by MichaelWharton101 - 23.07.2013, 04:19
AW: Explotion help - by Forbidden - 23.07.2013, 04:23
Re: AW: Explotion help - by MichaelWharton101 - 23.07.2013, 04:25
AW: Explotion help - by Forbidden - 23.07.2013, 04:29
Re: Explotion help - by MichaelWharton101 - 23.07.2013, 04:31
AW: Explotion help - by Forbidden - 23.07.2013, 04:33
Re: AW: Explotion help - by MichaelWharton101 - 23.07.2013, 04:34
AW: Explotion help - by Forbidden - 23.07.2013, 04:38
Re: AW: Explotion help - by MichaelWharton101 - 23.07.2013, 04:41
AW: Explotion help - by Forbidden - 23.07.2013, 04:51
Re: AW: Explotion help - by MichaelWharton101 - 23.07.2013, 04:58
Re: Explotion help - by MichaelWharton101 - 23.07.2013, 15:03

Forum Jump:


Users browsing this thread: 7 Guest(s)