SA-MP Forums Archive
Bugged Toys / Objects - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bugged Toys / Objects (/showthread.php?tid=345276)



Bugged Toys / Objects - Infinity90 - 24.05.2012

Ok, I created a little toy shop and when I change WEAPON it removes the object, any ideas how to fix?

pawn Код:
case 2:
                    {
                        if(GetPlayerScore(playerid) < 20)
                        {
                        SendClientMessage(playerid,C_SKYBLUE,"Not enough score!");
                        return 1;
                        }
                        else
                        SetPlayerAttachedObject( playerid, 0, 19078, 1, 0.352603, -0.075285, -0.167187, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // TheParrot1 - Parrot
                        SendClientMessage(playerid, COLOR_YELLOW, "Your Parrot has been granted!");
                    }
I will +Rep on whoever fixes it.