gs1 is deprecated and highly inefficient: you should take the time to convert your script to GS2.
You should place the tests for player directions inside the if (weaponfired) condition otherwise each time anything happens, every single condition in the code must be tested and that is highly inefficient (ultimately, player direction should be done inside a weaponfired function). You should also use if->elseif->else otherwise each condition must be interpreted as well <- further inefficieny and it looks really poor.
PHP Code:
//The power of nesting!
// Far more efficient then 5 conditional checks right after each other
if (weaponfired)
{
if (condition1)
{
//stuff
}
else if (condition2)
//stuff
}
else
{
//stuff
}
}
You should provide the gani you referenced.
With your attitude and attacks on forum members, you will continue to be treated like ****. You brought in a script you didn't even understand, abused members until they fixed it for you then dumped it here as if it were golden. Grow up.