AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP]5.0.8 Sniper & Assassin [FIX] (https://forums.alliedmods.net/showthread.php?t=182399)

ESPADONGAMING 04-09-2012 16:02

Re: [ZP]5.0.8 Sniper & Assassin
 
2 Attachment(s)
Here.

Nick Haldem 04-09-2012 16:14

Re: [ZP]5.0.8 Sniper & Assassin
 
Much work :) Thank you and I have one question for you, pmed

Sidix 04-09-2012 16:31

Re: [ZP]5.0.8 Sniper & Assassin
 
Great :D

ESPADONGAMING 04-09-2012 16:54

Re: [ZP]5.0.8 Sniper & Assassin
 
1 Attachment(s)
Warn for bugs

ESPADONGAMING 04-10-2012 16:24

Re: [ZP]5.0.8 Sniper & Assassin
 
added: zp50_admin_models

saywow 04-13-2012 11:30

Re: [ZP]5.0.8 Sniper & Assassin
 
I replace my original plugin by these?

saywow 04-13-2012 11:56

Re: [ZP]5.0.8 Sniper & Assassin
 
FULLY WORKING THANK YOU !!

ESPADONGAMING 04-13-2012 11:57

Re: [ZP]5.0.8 Sniper & Assassin
 
Update, fixed zp50_admin_menu ,zp50_info_hud,etc..

saywow 04-13-2012 12:04

Re: [ZP]5.0.8 Sniper & Assassin
 
What is zekstein.sma?
Quote:

case ACTION_MAKE_NEMESIS: // Nemesis command
{
if (LibraryExists(LIBRARY_NEMESIS, LibType_Library) && (userflags & read_flags(g_access_make_nemesis)) && is_user_alive(player) && !zp_class_nemesis_get(player))
{
if (zp_core_is_zombie(player))
formatex(menu, charsmax(menu), "%s \r[%L]", player_name, id, (LibraryExists(LIBRARY_NEMESIS, LibType_Library) && zp_class_nemesis_get(player)) ? "CLASS_NEMESIS" : "CLASS_ZOMBIE")
else
formatex(menu, charsmax(menu), "%s \y[%L]", player_name, id, (LibraryExists(LIBRARY_SURVIVOR, LibType_Library) && zp_class_survivor_get(player)) ? "CLASS_SURVIVOR" : "CLASS_HUMAN")
}
else
{
if( zp_core_is_zombie(player) )
{
if( LibraryExists(LIBRARY_NEMESIS, LibType_Library) && zp_class_nemesis_get(player) )
formatex(menu, charsmax(menu), "\d%s [%L]", player_name, id, "CLASS_NEMESIS");
else if(LibraryExists(LIBRARY_ASSASSIN, LibType_Library) && zp_class_assassin_get(player))
formatex(menu, charsmax(menu), "\d%s [%L]", player_name, id, "CLASS_ASSASSIN");
else
formatex(menu, charsmax(menu), "\d%s [%L]", player_name, id, "CLASS_ZOMBIE");
}
else
{
if( LibraryExists(LIBRARY_SURVIVOR, LibType_Library) && zp_class_survivor_get(player))
formatex(menu, charsmax(menu), "\d%s [%L]", player_name, id, "CLASS_SURVIVOR");
else if( LibraryExists(LIBRARY_SNIPER, LibType_Library) && zp_class_sniper_get(player))
formatex(menu, charsmax(menu), "\d%s [%L]", player_name, id, "CLASS_SNIPER");
else
formatex(menu, charsmax(menu), "\d%s [%L]", player_name, id, "CLASS_HUMAN");
}
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/

Y060N 04-13-2012 12:41

Re: [ZP]5.0.8 Sniper & Assassin
 
I don't think you needed to edit so many files. Like the grenade files you can call with natives and with the rewards as long as he is registered as a zombie class then you will get rewards for doing damage and such. All the features/sounds you don't really need to edit either because the sma of the class can call those by itself.

You only really need admin menus, class files, game mode files, and painshockfree (unless you call with native/raw call). All the others can be called with natives.


All times are GMT -4. The time now is 23:19.

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