Glasses - Small Question
#3

Quote:
Originally Posted by Grand_Micha
Посмотреть сообщение
pawn Код:
if (strcmp("/glasses", cmdtext, true, 10) == 0)
                    {
                        //Setglasseid[playerid]
                        if(PlayerInfo[playerid][pGlasses] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "WARNING: You do not have any glasses!");
                        if(glasses[playerid] == false)
                        {
                            SetPlayerAttachedObject(playerid, 2, glasseid, SkinOffSet[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(playerid, 2)) RemovePlayerAttachedObject(playerid,2);
                            glasses[playerid] = false;
                        }
                        return 1;
                    }
Also, click here for more info.
PHP код:
SetPlayerAttachedObject(playerid2glasseidSkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]); === Tag mismatch
Reply


Messages In This Thread
Glasses - Small Question - by Dan_Barocu - 26.06.2012, 15:17
Re: Glasses - Small Question - by Grand_Micha - 26.06.2012, 15:25
Re: Glasses - Small Question - by Dan_Barocu - 26.06.2012, 15:31
Re: Glasses - Small Question - by Grand_Micha - 26.06.2012, 15:34
Re: Glasses - Small Question - by Dan_Barocu - 26.06.2012, 15:49
Re: Glasses - Small Question - by Grand_Micha - 26.06.2012, 15:58
Re: Glasses - Small Question - by Dan_Barocu - 26.06.2012, 16:07
Re: Glasses - Small Question - by Grand_Micha - 26.06.2012, 16:44
Re: Glasses - Small Question - by Dan_Barocu - 26.06.2012, 16:49
Re: Glasses - Small Question - by Grand_Micha - 26.06.2012, 16:52

Forum Jump:


Users browsing this thread: 2 Guest(s)