![]() |
Hat Weapon
Hi all, I'm trying to make a simple NPC when player fires it, it checks if the player has tht hat on, if he does it sets the hat to hat.png, if not it sets the players hat to the hat filename, someone please help me, this is what ive got so far
PHP Code:
|
Quote:
PHP Code:
|
Quote:
PHP Code:
|
Thanks guys!
|
Quote:
|
Tip: Create a -Hat system, and have your Hat weapons call one it's functions. That way if you want to add an haton, hatoff animation you don't have change all your Hat weapons.
I.e: -Hat PHP Code:
PHP Code:
|
and would I just put a command which sets the animation?
|
Quote:
|
so if I make the gani hat_puton.gani for example and I put that after it sets the hat the gani should display the player putting on the specified hat, in other words. Thanks
|
| All times are GMT +2. The time now is 08:07 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.