Raised This Month: $ Target: $400
 0% 

[Help]Class ZM only for Admins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AfteR.
Veteran Member
Join Date: Dec 2008
Location: λ
Old 02-18-2010 , 19:25   Re: [Help]Class ZM only for Admins
Reply With Quote #1

Go here:

PHP Code:
public zp_user_infected_post(playerinfector)
{
if (
zp_get_user_zombie_class(player) == g_zclass_Leap)
g_hasLeap[player] = true

return PLUGIN_CONTINUE

And change it for this:

PHP Code:
public zp_user_infected_post(playerinfector)
{
if (
zp_get_user_zombie_class(player) == g_zclass_Leap && is_user_admin(player))
g_hasLeap[player] = true

return PLUGIN_CONTINUE

Only admins will have long jump, if not, they will only get speed, gravity, knockback and health.
AfteR. is offline
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:22.


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