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

Subplugin Submission [ZP]5.0.8 Sniper & Assassin [FIX]


Post New Thread Reply   
 
Thread Tools Display Modes
lechoo
Member
Join Date: Jul 2010
Location: Poland
Old 07-26-2012 , 08:11   Re: [ZP]5.0.8 Sniper & Assassin
Reply With Quote #81

Sorry for 2nd post, from strange reason I can't edit the previous one.
I've got custom zombie classes with special abbilities, is this possible to block them on witch? I tried to add like nemesis (if zp_get_user_assassin etc), I've added it to zombieplague.inc, i thought that will work, but I've got errors:

L 07/26/2012 - 14:006: [AMXX] Plugin "zpc_hunter.amxx" failed to load: Plugin uses an unknown function (name "zp_get_user_assassin") - check your modules.ini.
L 07/26/2012 - 14:006: [AMXX] Plugin "zpc_spitter.amxx" failed to load: Plugin uses an unknown function (name "zp_is_assassin_round") - check your modules.ini.
L 07/26/2012 - 14:006: [AMXX] Plugin "zpc_smoker.amxx" failed to load: Plugin uses an unknown function (name "zp_get_user_assassin") - check your modules.ini.
L 07/26/2012 - 14:006: [AMXX] Plugin "zpc_boomer.amxx" failed to load: Plugin uses an unknown function (name "zp_get_user_assassin") - check your modules.ini.

Would you help me? It's very important for me.
Attached Files
File Type: sma Get Plugin or Get Source (zpc_boomer.sma - 427 views - 8.2 KB)
File Type: sma Get Plugin or Get Source (zpc_hunter.sma - 484 views - 6.5 KB)
File Type: sma Get Plugin or Get Source (zpc_smoker.sma - 469 views - 11.6 KB)
File Type: sma Get Plugin or Get Source (zpc_spitter.sma - 461 views - 4.6 KB)
__________________
Sorry for my bad English
lechoo is offline
Send a message via Skype™ to lechoo
ESPADONGAMING
Senior Member
Join Date: Mar 2011
Location: In the Game [ro]
Old 07-27-2012 , 17:06   Re: [ZP]5.0.8 Sniper & Assassin
Reply With Quote #82

Exemple

PHP Code:
public client_PreThinkid )
{
    if( !
is_user_aliveid ) || !is_user_connectedid ) || !zp_get_user_zombieid ) || zp_get_user_nemesisid ) || zp_get_user_assassinid ) || zp_get_user_zombie_classid ) != g_zclass_boomer || !get_pcvar_numcvar_inuse ) || g_iHateSpamid ] )
        return 
PLUGIN_HANDLED

    
    
if( ( get_user_buttonid ) & IN_USE ) )
    {
        
g_iHateSpamid ] = true
        clcmd_vomit
id )
        
set_task1.0"StopSpam_XD"id )
    }
    return 
PLUGIN_HANDLED

__________________
Skype: cristi.c94
SteamID: cristic_1994
ESPADONGAMING is offline
Send a message via MSN to ESPADONGAMING Send a message via Yahoo to ESPADONGAMING Send a message via Skype™ to ESPADONGAMING
lechoo
Member
Join Date: Jul 2010
Location: Poland
Old 07-28-2012 , 04:39   Re: [ZP]5.0.8 Sniper & Assassin
Reply With Quote #83

Yup, I know. But when I'll add this to .sma, that shows me:
error 017: undefined symbol "zp_get_user_assassin"
When I add assassin to zombieplague.inc plugin is compiling, but in server logs I get error
[AMXX] Plugin "zpc_boomer.amxx" failed to load: Plugin uses an unknown function (name "zp_get_user_assassin") - check your modules.ini.
__________________
Sorry for my bad English
lechoo is offline
Send a message via Skype™ to lechoo
gogicaa
Veteran Member
Join Date: Aug 2011
Location: //
Old 07-28-2012 , 05:33   Re: [ZP]5.0.8 Sniper & Assassin
Reply With Quote #84

Just add
Quote:
#include <zp50_class_assassin>
in the beggining of your code ;)
gogicaa is offline
lechoo
Member
Join Date: Jul 2010
Location: Poland
Old 07-28-2012 , 06:14   Re: [ZP]5.0.8 Sniper & Assassin
Reply With Quote #85

The same error: error 017: undefined symbol "zp_get_user_assassin"
Because assassin.inc doesn't have zp_get_user_assassin and zp_is_assassin_round natives. Only:
zp_class_assassin_get
zp_class_assassin_set
zp_class_assassin_get_count
__________________
Sorry for my bad English

Last edited by lechoo; 07-28-2012 at 06:18.
lechoo is offline
Send a message via Skype™ to lechoo
gogicaa
Veteran Member
Join Date: Aug 2011
Location: //
Old 07-28-2012 , 07:09   Re: [ZP]5.0.8 Sniper & Assassin
Reply With Quote #86

Then use "zp_class_assassin_get" !
gogicaa is offline
lechoo
Member
Join Date: Jul 2010
Location: Poland
Old 07-28-2012 , 08:17   Re: [ZP]5.0.8 Sniper & Assassin
Reply With Quote #87

I didn't though that work, silly me. Thanks, I've blocker hunter, boomer and smoker, but still have a problem with spitter, which uses strange "zp_is_nemesis_round()", soo. I don't know what to add for assassin, because it doesn't have similar native.
__________________
Sorry for my bad English
lechoo is offline
Send a message via Skype™ to lechoo
molotovas
Senior Member
Join Date: Jan 2008
Old 08-04-2012 , 03:47   Re: [ZP]5.0.8 Sniper & Assassin
Reply With Quote #88

Great job ESPADONGAMING

Last edited by molotovas; 08-25-2012 at 06:18.
molotovas is offline
INst1Nct
Member
Join Date: Sep 2011
Location: Romania , Bucharest
Old 08-07-2012 , 07:31   Re: [ZP]5.0.8 Sniper & Assassin
Reply With Quote #89

I installed this two mods on my server but i have some problems...

1. How i can set the bullet power ( damage ) at sniper
2. How i can set damage of assasin
INst1Nct is offline
TeddiBer
Senior Member
Join Date: Oct 2011
Old 08-08-2012 , 12:28   Re: [ZP]5.0.8 Sniper & Assassin
Reply With Quote #90

can you add sniper and assassin to the extra item ?

human can buy assassin/sniper in countdown, and after countdown.
zombies can buy assassin.

and i need this game play mode:
Sniper Vs Nemesis
Assassin Vs Survivors
NightMare (Assassin&Nemesis VS. Sniper&Survivor)
tnx
TeddiBer is offline
Reply


Thread Tools
Display Modes

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 06:37.


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