boom on wrong position
#3

pawn Код:
if (strcmp("/mineactivate", cmdtext, true, 10) == 0)
{
    CreateObject(mineactive, mineactiveX, mineactiveY, mineactiveZ, 0, 0, 96);
    {
        if(IsPlayerInRangeOfPoint(playerid, 1.0, mineactiveX, mineactiveY, mineactiveZ))
        CreateExplosion(mineactiveX, mineactiveY, mineactiveZ, 4, 10.0);
    }
    return 1;
}
I really don't see whats the point of that code,
when you type /mineactive, it creates object at your position, and because you are in mineactiveX, mineactiveY, mineactiveZ location at the time of creation of object,
it always explodes you. So could you say what you really want it to do.

For now, it's just one way to do suicide.
Reply


Messages In This Thread
boom on wrong position - by legodude - 02.02.2010, 12:50
Re: boom on wrong position - by legodude - 02.02.2010, 13:07
Re: boom on wrong position - by lameguy - 02.02.2010, 13:27
Re: boom on wrong position - by legodude - 02.02.2010, 17:35
Re: boom on wrong position - by legodude - 03.02.2010, 14:59
Re: boom on wrong position - by legodude - 04.02.2010, 13:39
Re: boom on wrong position - by SamAlexSam - 04.02.2010, 13:41
Re: boom on wrong position - by legodude - 06.02.2010, 13:21
Re: boom on wrong position - by ¤Adas¤ - 06.02.2010, 13:26
Re: boom on wrong position - by lameguy - 08.02.2010, 12:27

Forum Jump:


Users browsing this thread: 4 Guest(s)