suprise
i want to make a suprise plugin and i need a start i made this little code not finsihed but it isn't working i'm new to making plugins i ported some and
can someone tell's me what Code:
Code:
Code:
Quote:
Quote:
|
|
thx man i get it now
now the plugin and the flags |
register_event("Death10","Dsuprise","b") Are you trying to catch the death event?
Quote:
So when they have a death it suppose to trigger dsuprise? and if they have deaths equal to 10 and kills is less than 10, they get super speed for one round? Also you don't need return PLUGIN_CONTINUE in public plugin_init() |
yes
if death= 10 and there kills are less then 10 they get superspeed for one round and if they have 9 kills it sayes to that player if you kill 1 person without get killed you get a suprise |
You completely misunderstand register_event.
The game has certain messages that the server sends to the client, such as Health. The server remembers your health, but the client has to know when to change it. So, the server sends the Health message to the client, the client receives it, and their health is updated on the HUD. register_event catches these messages, or events, as they come from the server to the client. You can't make up your own like "Kill10" or "Death10". |
so what should i use then
|
Code:
If someone see something wrong, Please feel free to edit it. I believe this should work. Edited* 5:02pm 4/20/05 |
why looping?
and what do you mean with world triggered and round_start |
Quote:
|
| All times are GMT -4. The time now is 09:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.