Help me with the object moved
#1

pawn Код:
for(new i;i<MAX_PLAYERS;i++)                    // Loop through connected players
{
        if(GetPVarInt(i, "EventToken") >= 1)
    {
        if(CarShooting[i] == 1)
        {
            if(objectid == gRocketObj[i])               // If this object is one of those player objects
            {
                      new
                    Float:x,
                    Float:y,
                    Float:z;
                  GetObjectPos(gRocketObj[i], x, y, z);   // Get the position of the object
                  CreateExplosion(x, y, z, 11, 3.0);      // Create an explosion at this position
                  DestroyObject(gRocketObj[i]);           // Destroy the object
                  FireShot[i] = 0;
            }
        }
    }
}
Can anyone give me the reason why this rocket cant be exploded ?
Its just been shot and then get stuck. Its although didnt disappear
Reply
#2

Is this a timer or what?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)