help array must be indexed
#1

new
pFoundObject[MAX_EVOBJECTS],
pObject[MAX_EVOBJECTS],
questobjectss = 0;

enum objInfo
{
objID,
objModel,
FloatbjPosX,
FloatbjPosY,
FloatbjPosZ
};
new ObjectInfo[MAX_EVOBJECTS][objInfo];

function disconnectQuest(playerid)
{
for(new xx = 1; xx <= questobjectss; xx++)
{
if(PlayerInfo[playerid][pObject][xx] != 0)
{
DestroyDynamicPickup(PlayerInfo[playerid][pObject][xx]);
PlayerInfo[playerid][pObject][xx] = 0;
}
}
}

line: DestroyDynamicPickup(PlayerInfo[playerid][pObject][xx]);
Reply


Messages In This Thread
help array must be indexed - by ShadowBlack - 21.04.2018, 14:12
Re: help array must be indexed - by jasperschellekens - 21.04.2018, 14:16
Re: help array must be indexed - by ShadowBlack - 21.04.2018, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)