Glasses
#3

how can i make it so i buy glasses and then with my cmd i can do /glasses and i have same glasses that i bought get it?
EDIT:i want so if i buy glasses then when i type /glasses i have them anytime..only if i buy them..

PHP код:
if (strcmp("/glasses"cmdtexttrue10) == 0)
                    {
                    if(
glasses[playerid] == false)
                    {
                        
SetPlayerHoldingObject(playeridglasseid2SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]);
                        
glasses[playerid] = true;
                    }
                    else if(
glasses[playerid] == true)
                    {
                        if(
IsPlayerAttachedObjectSlotUsed(playerid1)) RemovePlayerAttachedObject(playerid,1);
                        
glasses[playerid] = false;
                    }
                    return 
1;
                    } 
Reply


Messages In This Thread
Glasses - by Dan_Barocu - 24.06.2012, 22:01
Respuesta: Glasses - by [DOG]irinel1996 - 24.06.2012, 23:51
Re: Glasses - by Dan_Barocu - 25.06.2012, 00:18
Re: Glasses - by Makaveli93 - 25.06.2012, 02:15
Re: Glasses - by Dan_Barocu - 25.06.2012, 08:46
Re: Glasses - by .Wicked - 25.06.2012, 08:58
Re: Glasses - by Dan_Barocu - 25.06.2012, 10:07
Re: Glasses - by milanosie - 25.06.2012, 10:41
Re: Respuesta: Glasses - by dowster - 25.06.2012, 20:13
Re: Respuesta: Glasses - by kbalor - 25.06.2012, 20:29

Forum Jump:


Users browsing this thread: 2 Guest(s)