How Avoid From Attaching 2 Same Player Objects...
#6

This is an example that checks if (ID: 3) is on the player and allows them to remove it if so.

Код:
if(IsPlayerAttachedObjectSlotUsed(playerid, 3)) 
        {
            RemovePlayerAttachedObject(playerid, 3);
            SendClientMessage(playerid, -1, "The object has been removed.");
        }
Also, if you want it to save. You must make it an enum.
Reply


Messages In This Thread
How Avoid From Attaching 2 Same Player Objects... - by danish007 - 11.01.2015, 14:18
Re: How Avoid From Attaching 2 Same Player Objects... - by MD5 - 11.01.2015, 14:47
Re: How Avoid From Attaching 2 Same Player Objects... - by danish007 - 11.01.2015, 14:57
Re: How Avoid From Attaching 2 Same Player Objects... - by danish007 - 11.01.2015, 15:02
Re: How Avoid From Attaching 2 Same Player Objects... - by danish007 - 11.01.2015, 15:39
Re: How Avoid From Attaching 2 Same Player Objects... - by MD5 - 11.01.2015, 21:26

Forum Jump:


Users browsing this thread: 2 Guest(s)