Raised This Month: $32 Target: $400
 8% 

zp sniper mode


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FN_Productions
Member
Join Date: Mar 2014
Old 11-22-2014 , 20:19   zp sniper mode
Reply With Quote #1

Hi guys i was wondering does any one know the correct code for sniper to block him from using nanosuit

i know the correct way for survivor is


public zp_user_humanized_post(id, survivor)
{
cl_nn_has[id] = NANO_YES
cl_nn_has[survivor] = NANO_NO
nanosuit_reset(id)

return PLUGIN_CONTINUE
}



but when i do public zp_user_humanized_post(id, sniper)

it does not work does anyone know how i can do this correctly

public zp_user_humanized_post(id, survivor)
{
cl_nn_has[id] = NANO_YES
cl_nn_has[survivor] = NANO_NO
nanosuit_reset(id)

return PLUGIN_CONTINUE
} <<<this all means that the survivor cannot use nanosuit it removes nanosuit from him now im trying to block zp sniper from using it as welll you know the game mode from zobmie plague sniper does anyone know the correct code i could use
FN_Productions is offline
Send a message via Skype™ to FN_Productions
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-23-2014 , 05:51   Re: zp sniper mode
Reply With Quote #2

What this code mean?

cl_nn_has[id] = NANO_YES
zmd94 is offline
FN_Productions
Member
Join Date: Mar 2014
Old 11-23-2014 , 07:58   Re: zp sniper mode
Reply With Quote #3

Quote:
Originally Posted by zmd94 View Post
What this code mean?

cl_nn_has[id] = NANO_YES
it means normal user has nanosuit and cl_nn_has[survivor] = NANO_NO means he does not have it removes it from him
FN_Productions is offline
Send a message via Skype™ to FN_Productions
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-23-2014 , 08:10   Re: zp sniper mode
Reply With Quote #4

Which ZP version that you use?
zmd94 is offline
FN_Productions
Member
Join Date: Mar 2014
Old 11-23-2014 , 08:42   Re: zp sniper mode
Reply With Quote #5

Quote:
Originally Posted by zmd94 View Post
Which ZP version that you use?


zombie plague shade 1.0.3 edited by kronos#GG
FN_Productions is offline
Send a message via Skype™ to FN_Productions
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-23-2014 , 10:31   Re: zp sniper mode
Reply With Quote #6

Just try adding this code:
PHP Code:
public zp_round_started(modeid)
{
    if (
zp_get_user_sniper(id))
    {
        
cl_nn_has[id] = NANO_NO
        nanosuit_reset
(id)
    }

zmd94 is offline
Akshat
Senior Member
Join Date: Feb 2013
Location: India, Jaipur.
Old 11-23-2014 , 10:53   Re: zp sniper mode
Reply With Quote #7

Put the code in "[CODE]" Tag.
__________________
Learning Pawn [3% Complete!]
Akshat is offline
Send a message via Skype™ to Akshat
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 05:52.


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