![]() |
i have a scripting question
okay
i was wondering you know on era or on gun servers you see a damage thing it says how much damage you did to them im curious how would i make one of those |
It's a GANI shown; usually a player attribute, but it can also be a showani. Tig recommended using a player attribute rather than a showani to me a while back.
Here's a hint; since it's a GANI, you can peek inside Era's. It was written by Skyld, and it's in use on GK and Era, so you shouldn't just copy it. Just get some "ideas" from it. PHP Code:
|
To use that gani you could do something like this I think:
Save the script as mydamage.gani, then set player.attr[10] = "mydamage.gani,100"; (10 can be any number between 1 and 30, 100 is the damage shown) That is attaching the script to the player. The player.attr[10] is then set to "" (empty string) again after a few seconds for clearing it, then when setting the player.attr[10] to "mydamage.gani,100" again later then onCreated() is called again. |
thanks for your help guys :)
|
| All times are GMT +2. The time now is 10:59 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.