"DestroyPlayerObject"
#1

Hello, I have this " Streaming DestroyPlayerObject stock, and I don't know how to make it for A Player not for all players. So, instead of DestroyObject, I wanna make it DestroyPlayerObjectEx <--- I have this code:

pawn Code:
stock DestroyPlayerObjectEx(playerid, ObjectId)
{
    ObjectUsed[ObjectId] = 0;
    for(new i; i<MAX_PLAYERS; i++)
    {
      if(ObjectStreamed[i][ObjectId] == 1)
      {
        ObjectStreamed[i][ObjectId] = 0;
        DestroyPlayerObject(i, ObjectIDS[i][ObjectId]);
        }
    }
}
But I don't really know how to make the "playerid" work because when I use it it says, playerid was never used. So how can it be done?
Reply


Messages In This Thread
"DestroyPlayerObject" - by Guitar - 16.03.2012, 09:58
Re: "DestroyPlayerObject" - by T0pAz - 16.03.2012, 10:05
Re: "DestroyPlayerObject" - by Guitar - 16.03.2012, 23:20

Forum Jump:


Users browsing this thread: 3 Guest(s)