IsPlayerAttachedObjectSlotUsed in onplayerdeath
#1

Hi,

When player die, attached object are still atached, i can check IsPlayerAttachedObjectSlotUsed ?
Reply
#2

At OnPlayerDeath to remove it onplayerdeath
PHP код:
 for(new i=0i<MAX_PLAYER_ATTACHED_OBJECTSi++)
        {
            if(
IsPlayerAttachedObjectSlotUsed(playeridi)) RemovePlayerAttachedObject(playeridi);
        } 
Reply
#3

Yes, you can! Why not go in-game and test? Is it so hard? You are really making people mad because you could go in-game and get your answer within a minute instead of posting a thread and wait longer. ****** exists as well. Seriously, stop creating these stupid threads. Plus you never thank anyone when you get helped. You are acting like a bot that creates a random thread with a stupid question like 10 times in an hour. I'm really surprised that some people still reply to your threads, but most of the people don't because they see that you are the person who posted the thread so they decide to ignore it because they know what to expect. I don't want to be mean, but I think I need to be so you could understand one day. You have asked 728 (at the moment) stupid questions so far. This is the last time I reply to your threads for real because looking at your threads just hurts me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)