[ Solved ] My plugin bug (duel)
Hello,
I've a problem with my code. It's this code :
Spoiler
So i've got a lots of bug. Like this : ( I've a screen ) 1) First bug : http://img77.xooimage.com/files/c/c/3/1-35e2062.jpg It's not the name of the player but number. Always the same (91 and 65) ... WHy i dont know... 2) Second problem : And an other problems : ( A screen too ) http://img76.xooimage.com/files/e/b/2/2-35e2069.jpg So ... :S Thanks all in advance :D Ps: If someone say : My code is not optimized. It's not realy a problem now. After yes but now i just want a code wich works good |
Re: [ Request ] My plugin bug (duel)
Player names are strings, so you should use %s. %d is for integer numbers(like %i).
|
Re: [ Request ] My plugin bug (duel)
Oh yes lol.
a problem in less. Thanks a lots VeCo |
Re: [ Request ] My plugin bug (duel)
Because you do not reset the glow anywhere back to normal.
|
Re: [ Request ] My plugin bug (duel)
You use %d (decimal) instead of %s (string).
EDIT: Ninja'd. |
Re: [ Request ] My plugin bug (duel)
Okay i do that :D
Thanks all i edit it ! :) |
Re: [ Request ] My plugin bug (duel)
So summarize I still have to do :
- Check why only knife duel is running. So other duel do not work. Always a knife duel. Please it's very important :) And : - Removing the glow with this function : Code:
Thank you in advance and have a nice day all :D |
Re: [ Request ] My plugin bug (duel)
Why was it necessary to double post? Your question is not any more important than anyone elses - use the edit button.
HLTV event does not send a player index. It is also called before players spawn, therefore you should hook player spawn and then reset their standard rendering there. |
Re: [ Request ] My plugin bug (duel)
No really i don't say "My question is more important than anyone elses".
Sorry for the double post. The next time i'll use edit button. :) Hum yes i do that now. Thanks a lot. So now it remains the most complex ! :D |
Re: [ Request ] My plugin bug (duel)
PHP Code:
PHP Code:
It's just a comment. |
| All times are GMT -4. The time now is 06:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.