machok
Well-known member
*Already found best the solution 
Canceled, ineffective
I'll try to find a more appropriate solution.
Canceled, ineffective
I'll try to find a more appropriate solution.
Just like the title, can anyone help me make this script work when there are 2 players?
a simple script, it's just that I'm not good at this
a simple script, it's just that I'm not good at this
Code:
@script
int P1 = getplayerproperty(0, "entity");
void self = getlocalvar("self");
{
int z = getentityproperty(P1, "z");
if(z >= 230)performattack(self,openborconstant("ANI_FOLLOW2"));
if(z <= 229)performattack(self,openborconstant("ANI_FOLLOW3"));
}
@end_script
Last edited: