[[Help]] Removing Specific Attached Object
#6

Its on onPlayerDeath, Onplayer leave checkpoint and one self created callback, which get called every second and it is something like this
pawn Код:
if(getCheckpointType(playerid) == CP_SupaSaveMain)
    {
        if(RobbingSupaSave[playerid] >= 1)
        {
            RobbingSupaSave[playerid] =0;
            for(new t=0; t<MAX_PLAYER_ATTACHED_OBJECTS; t++)
            {
                if(IsPlayerAttachedObjectSlotUsed(playerid, t)) RemovePlayerAttachedObject(playerid, t);
            }
            return 1;
        }
        return 1;
    }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)