What include
#1

what include need for this command i include zcmd but give me this errors


PHP код:
CMD:hid(playeridparams[])
{
    for ( new 
05++ )
        if ( 
IsPlayerAttachedObjectSlotUsedplayerid) )
            
RemovePlayerAttachedObjectplayerid);
    if ( 
P_DATAplayerid ][ P_Weaponizer ] ) ResetPlayerWeaponsplayerid );
    
P_DATAplayerid ][ P_Police ] = 0;
    
P_DATAplayerid ][ P_Dick   ] = 0;
    
P_DATAplayerid ][ P_Alien  ] = 0;
    
P_DATAplayerid ][ P_Iron     ] = 0;
    
P_DATAplayerid ][ P_TrashF ] = 0;
    
P_DATAplayerid ][ P_Incred ] = 1;
    
P_DATAplayerid ][ P_Weaponizer ] = 0;
    
KillTimerParticleTimerplayerid ] );
    
KillTimerAlienTimerplayerid ] );
    
SetPlayerAttachedObjectplayerid01869351.9835031.558882, -0.12948286.705787308.978118268.1988221.5000001.5000001.500000 ); // Flame99 - handfire left
    
SetPlayerAttachedObjectplayerid11869361.9835031.558882, -0.12948286.705787308.978118268.1988221.5000001.5000001.500000 ); // Flame99 - handfie right
    
SetPlayerAttachedObjectplayerid21870361.9835031.558882, -0.12948286.705787308.978118268.1988221.5000001.5000001.500000 ); // overheat_car - dust right
    
SetPlayerAttachedObjectplayerid31870351.9835031.558882, -0.12948286.705787308.978118268.1988221.5000001.5000001.500000 ); // overheat_car - dustleft
    
SetPlayerAttachedObjectplayerid41896520.1110520.021643, -0.00084692.28089992.752510358.0710441.2000001.2831681.200000 ); // SkullyCap2 - skull
    
Infoplayerid"~b~~h~Incredible ~w~effect enabled!~n~~w~Type ~b~~h~/hol~w~ to disable."6000);
    return 
1;


erorrs
C:\Documents and Settings\Desktop\gangwars.pwn(6386) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Desktop\gangwars.pwn(6386) : error 017: undefined symbol "cmd_incred"
C:\Documents and Settings\Desktop\gangwars.pwn(6386) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Desktop\gangwars.pwn(6386) : fatal error 107: too many error messages on one line
Reply
#2

Have you got the latest ZCMD? Also, if you just copied that from somewhere, you most likely do not have the variables that the command needs.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)