View Full Version : Checking player animation

05-27-2001, 07:10 PM
i need some help with this...i i know i use if (strequal(#m,...) but what is the format for inside? do i add the .gani or just put it as the name of the gani...

btw, does it make a difference if its in a timeout loop?

05-27-2001, 09:43 PM
OK... to test for the animation... yes you do use the if (strequals(#m,...)) loop and the bit inside would be the gani name without .gani.

So for example to test if the player is swimming use...

if (strequals(#m, swim)) {
...stuff here if swimming...

#m(index) is the same... it just uses the parameters too...
so, index = parameter

05-27-2001, 09:43 PM
hope this helps

05-28-2001, 07:15 AM
Hmm.....i had it right before i started this thread...but for some reason, when i check to see if the player is in a bed, it does not work. If i can get that working, that will greatly help me upgrade my meter system :D