Is this possible
#8

Oh Right
pawn Код:
public OnObjectMoved(objectid)
{
    for(new i;i<MAX_PLAYERS;i++)                    // Loop through players
    {
        if(objectid == gRocketObj[i])               // If this object is one of those player objects
        {
            new targetid,
                Float:x,
                Float:y,
                Float:z;

            GetObjectPos(gRocketObj[i], x, y, z);
            if(IsPlayerInRangeOfPoint(targetid,3.0, x, y, z)); // Get the position of the object
            {  
                CreateExplosion(x, y, z, 11, 2.50);      // Create an explosion at this position
                DestroyObject(gRocketObj[i]); // Destroy the object
            }          
        }
    }
}

Код:
C:\Users\Warkadang\Desktop\Scripting\Scripting\filterscripts\Test.pwn(54) : error 036: empty statement
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Can't seem to fix it
PS: will it work?
Reply


Messages In This Thread
Is this possible - by Rudy_ - 28.07.2012, 14:27
Re: Is this possible - by Dolby - 28.07.2012, 14:56
Re: Is this possible - by Rudy_ - 28.07.2012, 15:25
Re: Is this possible - by Rudy_ - 28.07.2012, 15:30
Re: Is this possible - by Baboon - 28.07.2012, 15:32
Re: Is this possible - by Rudy_ - 28.07.2012, 15:35
Re: Is this possible - by Baboon - 28.07.2012, 15:39
Re: Is this possible - by Rudy_ - 28.07.2012, 15:41
Re: Is this possible - by Baboon - 28.07.2012, 16:03
Re: Is this possible - by FireCat - 28.07.2012, 16:06

Forum Jump:


Users browsing this thread: 2 Guest(s)