Duels help
fixed
|
Re: Duels help
Edited
|
Re: Duels help
Hey!
This is more of a request, not a Scripting Help post, but still. I'm Tattoo's scripter from the knife server. Might've heared about me, mr. Raizo. I know I am not supposed to help you, because of our relationship, but here we go. I think it would be easier if you'd rewrite the code from the scratch, as it would be a pain in the ass to modify a code that big. If though you don't want to take this into consideration, I'm gonna give you this information : In order to respawn a player you're gonna have to use the << spawn( id ) >> function. Sometimes the client gets bugged, so you'll have to use the spawn( id ) func twice. How? Quote:
Quote:
Quote:
After that, you're gonna have to give players the needed weapons using give_item( id, "weapon_blabla" ). Check out the weapon codes in order to use give_item. That's about it. |
Re: Duels help
Bump!
|
Re: Duels help
Quote:
Now, to me get this done, I do not know how much time would take. But my first step would be to get to know that code and learn if it is working correctly. After that, and as I already know the code, I would think about some strategy/algorithm to get it done. One thing that help me is to debug the code as a way to get to know it. Here I made a tutorial explaining a debugging system I used to build my plugins, see if it helps you. |
Re: Duels help
Quote:
To know how to control your plugin, you must to know how it starts and ends the duel, then you can block it and only allow it to end, when your rules are fit. See these highlighted code lines to have an example about how to block/allow some behavior. To acquire such Knowledge, you can read/debug your code. |
Re: Duels help
is difficult for me thank you anyway
|
Re: Duels help
1 Attachment(s)
Here you can see what I changed:
https://gist.github.com/addonszz/e2831dd591d6deb4d710/revisions?diff=split It is done, but last some things to do. TODO list:
|
Re: Duels help
Thanks for you work but
I want to respawn challenger + challenged Can you make for example : Code:
public plugin_init() Code:
public duel(id) |
| All times are GMT -4. The time now is 18:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.