![]() |
Checking player animation
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? |
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 |
hope this helps
|
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
|
| All times are GMT +2. The time now is 08:38 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.