Weapon Name
How can i read the weapon name in a plugin to show in chat weapon name and not weapon string (10,30,100,19 ...) for message Player killed you with weapon name.
|
Re: Weapon Name
Code:
|
Re: Weapon Name
Thanks!
But look what server print in my chat: [IMG]http://s28.************/5caqodp5p/img.png[/IMG] PHP Code:
|
Re: Weapon Name
%d is for decimal (base10) numbers.
%s is for strings. Use this. |
Re: Weapon Name
Done:
PHP Code:
weapon_ (only m4a1) etc [IMG]http://s23.************/cu1yqamd7/imgkill.png[/IMG] Also on this line: PHP Code:
PHP Code:
|
Re: Weapon Name
To fix the weapon_ in the name you need to use the
Replace or replace_all native not sure which one on top of head as im at work. |
Re: Weapon Name
Quote:
|
Re: Weapon Name
Code:
|
Re: Weapon Name
Thanks it's works also this error cand be solved?
PHP Code:
|
Re: Weapon Name
Quote:
|
| All times are GMT -4. The time now is 20:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.