Raised This Month: $ Target: $400
 0% 

[REQ] Last human


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
myusername
Senior Member
Join Date: Aug 2012
Old 02-06-2013 , 07:47   [REQ] Last human
Reply With Quote #1

Hello allied coders. I want to detect last human. And give him flashbang(frostnade).
__________________
Rest in piece.
myusername is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 02-06-2013 , 16:49   Re: [REQ] Last human
Reply With Quote #2

So Hard ?
Code:
#include < amxmodx >
#include < fun >
#include < zombieplague >

public zp_user_humanized_post( iPlayer, iSurvivor )
{
         if( zp_get_user_last_huan( iPlayer ) )
                  give_item( "weapon_flashbang" );
         else 
                  return ZP_PLUGIN_HANDLED;
}

Last edited by TheDS1337; 02-06-2013 at 16:49.
TheDS1337 is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 02-07-2013 , 09:34   Re: [REQ] Last human
Reply With Quote #3

Quote:
Originally Posted by DeagLe.Studio View Post
So Hard ?
Code:
#include < amxmodx >
#include < fun >
#include < zombieplague >

public zp_user_humanized_post( iPlayer, iSurvivor )
{
         if( zp_get_user_last_huan( iPlayer ) )
                  give_item( "weapon_flashbang" );
         else 
                  return ZP_PLUGIN_HANDLED;
}
zp_get_user_last_huan???

zp_user_humanized_post? To find last survivor?
__________________

Last edited by H.RED.ZONE; 02-07-2013 at 09:35.
H.RED.ZONE is offline
myusername
Senior Member
Join Date: Aug 2012
Old 02-07-2013 , 10:28   Re: [REQ] Last human
Reply With Quote #4

For you yes.
PHP Code:
#include < amxmodx >
#include < fun >
#include < zp50_core>

public zp_core_is_last_humanid )
{
         if( !
is_user_aliveid ) )
                  return 
ZP_PLUGIN_HANDLED
         
         give_item
"weapon_flashbang" )

__________________
Rest in piece.

Last edited by myusername; 02-07-2013 at 10:29.
myusername is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 02-07-2013 , 11:28   Re: [REQ] Last human
Reply With Quote #5

Quote:
Originally Posted by myusername View Post
For you yes.
PHP Code:
#include < amxmodx >
#include < fun >
#include < zp50_core>

public zp_core_is_last_humanid )
{
         if( !
is_user_aliveid ) )
                  return 
ZP_PLUGIN_HANDLED
         
         give_item
"weapon_flashbang" )

Omg
PHP Code:
zp_core_is_last_humanid 
is not a forward its a native >.>
__________________
H.RED.ZONE 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 09:03.


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