Several Arguments for show_hudmessage?
Is it possible to write something along these lines:
PHP Code:
|
Re: Several Arguments for show_hudmessage?
show_hudmessage(0, killer, " has eaten %d hamburgers", hamburgers[killer])
|
Re: Several Arguments for show_hudmessage?
You made little mistake.
PHP Code:
|
Re: Several Arguments for show_hudmessage?
Could you give me a brief explanation why you are writing %d and %s.
|
Re: Several Arguments for show_hudmessage?
%s means you want to put a string in there.
%d means a number. %i means integer value. %f.1 means a float and 1 means how many numbers behind . will be shown. i'm not completely sure about %d someone else could explain it |
Re: Several Arguments for show_hudmessage?
%d comes from data, but it prints only integers so you can use %d or %i in the same circumstances :)
|
| All times are GMT -4. The time now is 05:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.