Help edit code to return to human form on death.
1 Attachment(s)
This is from the chicken mod plugin. I am trying to force a return to human form every time someone dies. In the death code I put in "unchicken_user(0)". Below is all death code:
/* DEATH EVENT CODE */ public death_event(id) { update_menu() new vid = read_data(2) if(UserFlags[vid]) { set_rendering(vid, kRenderFxNone, 0, 0, 0, kRenderTransAdd, 0) new orig[3] get_user_origin(vid, orig) create_gibs(vid, orig, 5, 30, 30) unchicken_user(0) } } Attached is the sma file |
Re: Help edit code to return to human form on death.
Please attach the sma instead, that code is to hard to read like that.
|
Re: Help edit code to return to human form on death.
try:
Code:
unchicken_user(vid) |
Re: Help edit code to return to human form on death.
2 Attachment(s)
testing new code
|
Re: Help edit code to return to human form on death.
It doesnt work. Any suggestions?
|
Re: Help edit code to return to human form on death.
OK Its a year later and I still can not figure out how to do this. Any help?
|
Re: Help edit code to return to human form on death.
1 Attachment(s)
lets try this:
|
| All times are GMT -4. The time now is 10:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.