undefined symbol
#1

PHP код:
        if(GetRNPCHealth(damagedid) < 0.0 && !rnpcData[damagedid][RNPC_DEAD])
        {
CreateLootsZombie(item[],fPos[0],fPos[1],fPos[2]);

Код:
error 017: undefined symbol "item"
PHP код:
function CreateLootsZombie(item[],Float:pXX,Float:pYX,Float:pZX)
{
    new 
strt[128];
    
lootCount += 1;
    
Loot[lootCount][xLootdropZ] = pXX;
    
Loot[lootCount][yLootdropZ] = pYX;
    
Loot[lootCount][zLootdropZ] = pZX;
    
Loot[lootCount][AntiDup] = 1;
    
format(Loot[lootCount][lootDrop], 128"%s"item);
    
    
Loot[lootCount][LootID] = CreateDynamicObject(2907/*DayZSA_SelectObj()*/,pXX+0.3,pYX+float(1),pZX-0.7,0.0,0.0,0.0,-1,-1,-1,1000.0);
    
format(strt,sizeof(strt),""COL_GREEN"ACTION\n"COL_WHITE"PRESS N");
    
Loot[lootCount][TextID] = CreateDynamic3DTextLabel(strt,-1,pXX+0.3,pYX+float(1),pZX-0.7,8.0,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,1,-1,-1,-18.0);
    return 
1;

Do you know why this is not working?
Reply


Messages In This Thread
undefined symbol - by Zeus666 - 24.09.2018, 21:56
Re: undefined symbol - by VVWVV - 24.09.2018, 22:11
Re: undefined symbol - by Zeus666 - 24.09.2018, 22:14
Re: undefined symbol - by VVWVV - 24.09.2018, 22:17
Re: undefined symbol - by Undef1ned - 24.09.2018, 22:18
Re: undefined symbol - by ISmokezU - 24.09.2018, 22:19
Re: undefined symbol - by Electrifying - 24.09.2018, 22:23
Re: undefined symbol - by AdamCooper - 24.09.2018, 22:33

Forum Jump:


Users browsing this thread: 2 Guest(s)