Attach Object To Player [Please Help Me]
#3

I added the other 3 arguements I was missing and same result, For the removeplayerattachedobject I did that to make sure they had no other object on them, then for the TrafficCone[playerid] it is so I can delete the object that is created after the player tried to return the cone:

pawn Код:
ItemHolding[playerid] = 0;
                    DestroyObject(TrafficCone[playerid]);
                    RemovePlayerAttachedObject(playerid, 5);
                    GetPlayerName(playerid, sendername, sizeof(sendername));
                    Fmsg("%s opens the back of the truck and puts a traffic cone inside", sendername);
                    SLM(playerid, string, 15, COLOR_PURPLE, COLOR_PURPLE);
Like I said for some odd reason the there is no object and nothing appears but the action text appears .
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)