SA-MP Forums Archive
What include - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: What include (/showthread.php?tid=264414)



What include - boyan96 - 26.06.2011

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


Re: What include - [HiC]TheKiller - 26.06.2011

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.