25.07.2010, 17:05
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;
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;