variable in hudmessage?
how to show a variable in a hudmessage?
i know how to show hp and stuff but not variables hp example: Code:
variabel?: Code:
|
i'm not sure what you actually want, give an example for what
you want to display and i'm sure i can help you. |
%d for integers
%f for floats %s for strings Is that what you wanted? |
%i for integers, actually
%d stands for data... not sure quite exactly what it was meant for, but it can be used for integers. |
Oh really, you learn something new every day, or week, or w/e. %d always worked for me :)
|
%d can be used in place of %i, %f, and %s. it figures out what your trying to display and displays it. There is some sort of downside, but I forget what it is.
|
example: so if i want to show the variable something in the hudmessage i do like this?
Code:
|
and i also saw this in another topic and i cant get it to work so can anyone explain how to use it or give me a code example?
Code:
|
|
ok i need some help, i am working on a stats plugin that allows you to choose 5 stats, i have only done the constitution stat now, but i need someone to fix the code cause i get theese errors when i compile:
Code:
(8) : error 017: undefined symbol "constitution"Code:
and i also want to show the current constitution the player has in the menu after the option Constitution, like this if the person has 5 constitution the option will be : Constitution (5) |
| All times are GMT -4. The time now is 09:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.