Raised This Month: $51 Target: $400
 12% 

How to fix that problem?


Post New Thread Reply   
 
Thread Tools Display Modes
Torge
Veteran Member
Join Date: Oct 2011
Old 01-06-2012 , 02:36   Re: How to fix that problem?
Reply With Quote #21

Ok
Torge is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 01-06-2012 , 05:34   Re: How to fix that problem?
Reply With Quote #22

It dont work If i get auto nemesis/survivor from server i get slayed, can anyone fix this? ^^
Torge is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 01-06-2012 , 05:40   Re: How to fix that problem?
Reply With Quote #23

Try this :

Code:
public zp_user_infected_post(id, infector, nemesis) {     if( !infector )     {         return     }     if (nemesis && i < get_pcvar_num(round))     {         i=0         static name[32]         get_user_name(id, name, 32)                   client_print(id, print_chat, "%s has been slayed for being nemesis too early", name)         user_kill(id)     } }
__________________
You can do anything you set your mind to, man.

Devil259 is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 01-06-2012 , 05:47   Re: How to fix that problem?
Reply With Quote #24

Quote:
Originally Posted by Devil259 View Post
Try this :

Code:
public zp_user_infected_post(id, infector, nemesis) { if( !infector ) { return } if (nemesis && i < get_pcvar_num(round)) { i=0 static name[32] get_user_name(id, name, 32) client_print(id, print_chat, "%s has been slayed for being nemesis too early", name) user_kill(id) } }

ok, but you can script the same for survivor too?

EDIT: Dont work

Last edited by Torge; 01-06-2012 at 05:51.
Torge is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 01-06-2012 , 06:32   Re: How to fix that problem?
Reply With Quote #25

Code:
public zp_user_infected_post(id, infector) {     if( infector && ( zp_get_user_nemesis(id) || zp_get_user_survivor(id) ) && i < get_pcvar_num(round) )     {         i=0         static name[32]         get_user_name(id, name, 32)                   client_print(id, print_chat, "%s has been slayed for being nemesis too early", name)         user_kill(id)     } }


Instead of using nemesis boolean, I use zp_get_user_[nemesis|survivor].
__________________
You can do anything you set your mind to, man.


Last edited by Devil259; 01-06-2012 at 06:32.
Devil259 is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 01-06-2012 , 07:27   Re: How to fix that problem?
Reply With Quote #26

I tryed to use zp_get_user_nemesis and zp_get_user_survivor, dont working -.-
Torge is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-06-2012 , 10:50   Re: How to fix that problem?
Reply With Quote #27

Quote:
Originally Posted by Devil259 View Post
Instead of using nemesis boolean, I use zp_get_user_[nemesis|survivor].
Don't. That nemesis boolean is there for that purpose.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 01-06-2012 , 12:34   Re: How to fix that problem?
Reply With Quote #28

Someone know a solution ? i cant fix it from myself
If someone need my code i will post it

Last edited by Torge; 01-06-2012 at 12:34.
Torge is offline
Old 01-09-2012, 14:02
Torge
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode