Special function
#1

Hello can someone help me?Ty
Im addinng one special function to my scrypt but i get one error:

C:\Users\hpi\Desktop\GTA Pawn\mtrp-final\My filterscrypts\DANCING\DANCING\DANCING.pwn(4) : warning 201: redefinition of constant/macro (symbol "SPECIAL_ACTION_DANCE1")

In main i got #define SPECIAL_ACTION_DANCE1 69

And this function but it do error :\

else if (strcmp(cmdtext, "/dance1", true)==0)
{
if (GetPlayerState(playerid)== 1)
{
ApplyAnimation(playerid,"DANCING", "bd_clap", 4.0, 1, 0, 0, 0, 0);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DAN CE1);
}
return 1;
Reply
#2

remove #define special_ACTION_DANCE1 69
Reply
#3

I dont need define it?
Reply
#4

Thanks it worts
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)