T
Tatum_vt
Guest
hii I'm really new at this, and I wrote a line of code, where I get the error:
Script: PlayerState_Attack_Stab at line 4 : malformed if statement
But I don't see what's wrong, pls help!!
my code:
//Start of the attack
if (sprite_index != sPlayerS);
{
sprite_index = sPlayerS;
image_index = 0;
ds_list_clear (hitByAttack);
}
//Use attack bitbox & check for hits
mask_index =sPlayerSHB;
Script: PlayerState_Attack_Stab at line 4 : malformed if statement
But I don't see what's wrong, pls help!!
my code:
//Start of the attack
if (sprite_index != sPlayerS);
{
sprite_index = sPlayerS;
image_index = 0;
ds_list_clear (hitByAttack);
}
//Use attack bitbox & check for hits
mask_index =sPlayerSHB;