HELP ! Please
#1

i want to add This CMD In my GM :-
Код:
CMD:alien( 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_Weaponizer ] = 0;
    P_DATA[ playerid ][ P_Police ] = 0;
	P_DATA[ playerid ][ P_Dick   ] = 0;
	P_DATA[ playerid ][ P_Incred ] = 0;
	P_DATA[ playerid ][ P_Iron	 ] = 0;
    P_DATA[ playerid ][ P_TrashF ] = 0;
	P_DATA[ playerid ][ P_Alien ] = 1;
	KillTimer( ParticleTimer[ playerid ] );
	KillTimer( AlienTimer[ playerid ] );
	SetPlayerAttachedObject( playerid, 0, 18645, 2, 0.017478, 0.051500, 0.003912, 285.055511, 90.860740, 171.179550, 1.780549, 0.912008, 1.208514 ); // MotorcycleHelmet1 - HEAD
	SetPlayerAttachedObject( playerid, 1, 18690, 2, -2.979508, 0.306475, -0.388553, 285.055511, 90.860740, 171.179550, 1.780549, 0.912008, 1.208514 ); // fire_car - fire2
	SetPlayerAttachedObject( playerid, 2, 18716, 2, -2.979508, 0.306475, -0.388553, 285.055511, 90.860740, 171.179550, 1.780549, 0.912008, 1.208514 ); // prt_smoke_expand - smoke3
	AlienTimer[ playerid ] = SetTimerEx("AlienSpark", 500, true, "i", playerid );

	Info( playerid, "~b~~h~Alien effect ~w~enabled!~n~~w~Type ~b~~h~/holdoff~w~ to disable.", 6000);

	return 1;
}
But i Got This ErrOrs :-
Код:
C:\Users\Arish\Desktop\RUBEN\SATDM~RP V9\Gamemodes\SATDM_v9.pwn(43973) : error 017: undefined symbol "P_DATA"
C:\Users\Arish\Desktop\RUBEN\SATDM~RP V9\Gamemodes\SATDM_v9.pwn(43973) : warning 215: expression has no effect
C:\Users\Arish\Desktop\RUBEN\SATDM~RP V9\Gamemodes\SATDM_v9.pwn(43973) : error 001: expected token: ";", but found "]"
C:\Users\Arish\Desktop\RUBEN\SATDM~RP V9\Gamemodes\SATDM_v9.pwn(43973) : error 029: invalid expression, assumed zero
C:\Users\Arish\Desktop\RUBEN\SATDM~RP V9\Gamemodes\SATDM_v9.pwn(43973) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Need Help Please help Me
Reply
#2

You need to fix the variables to match yours.
Reply
#3

How To ?? Help me
Reply
#4

Quote:
Originally Posted by [Dk]RoCk
Посмотреть сообщение
How To ?? Help me
I would have to have your script.
Reply
#5

I Am UsinG SATDM Gm
and i get This /Alien cmd from Eclipse GM
Now Can You Help ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)