PHP код:
CMD:hid(playerid, params[])
{
for ( new i = 0; i < 5; i ++ )
if ( IsPlayerAttachedObjectSlotUsed( playerid, i ) )
RemovePlayerAttachedObject( playerid, i );
if ( P_DATA[ playerid ][ P_Weaponizer ] ) ResetPlayerWeapons( playerid );
P_DATA[ playerid ][ P_Police ] = 0;
P_DATA[ playerid ][ P_Dick ] = 0;
P_DATA[ playerid ][ P_Alien ] = 0;
P_DATA[ playerid ][ P_Iron ] = 0;
P_DATA[ playerid ][ P_TrashF ] = 0;
P_DATA[ playerid ][ P_Incred ] = 1;
P_DATA[ playerid ][ P_Weaponizer ] = 0;
KillTimer( ParticleTimer[ playerid ] );
KillTimer( AlienTimer[ playerid ] );
SetPlayerAttachedObject( playerid, 0, 18693, 5, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 ); // Flame99 - handfire left
SetPlayerAttachedObject( playerid, 1, 18693, 6, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 ); // Flame99 - handfie right
SetPlayerAttachedObject( playerid, 2, 18703, 6, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 ); // overheat_car - dust right
SetPlayerAttachedObject( playerid, 3, 18703, 5, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 ); // overheat_car - dustleft
SetPlayerAttachedObject( playerid, 4, 18965, 2, 0.111052, 0.021643, -0.000846, 92.280899, 92.752510, 358.071044, 1.200000, 1.283168, 1.200000 ); // SkullyCap2 - skull
Info( playerid, "~b~~h~Incredible ~w~effect enabled!~n~~w~Type ~b~~h~/hol~w~ to disable.", 6000);
return 1;
}
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
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.