Raised This Month: $ Target: $400
 0% 

lol


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BodyBuilder
BANNED
Join Date: Jun 2011
Location: Europa-USA-Moon
Old 08-02-2011 , 08:39   lol
Reply With Quote #1

lol

Last edited by BodyBuilder; 12-23-2012 at 12:34.
BodyBuilder is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-02-2011 , 08:41   Re: [HAMSANDWICH] Failed
Reply With Quote #2

"player"

Also you should do something like this:

PHP Code:
#include <amxmodx>
#include <fun>
#include <hamsandwich>

public plugin_init()
{
    
RegisterHam(Ham_Spawn,"player","HamPlayerSpawn"1)
}

public 
HamPlayerSpawn(id)
{
    if( 
is_user_alive(id) )
    {
        
give_item(id,"weapon_crowbar")
        
give_item(id,"weapon_handgrenade")
        
give_item(id,"weapon_snark")
        
give_item(id,"weapon_snark")
        
give_item(id,"weapon_snark")
        
give_item(id,"weapon_tripmine")
        
give_item(id,"weapon_tripmine")
        
give_item(id,"weapon_tripmine")
        
give_item(id,"weapon_tripmine")
        
give_item(id,"weapon_tripmine")
        
give_item(id,"weapon_satchel")
        
give_item(id,"weapon_satchel")
        
give_item(id,"weapon_satchel")
        
give_item(id,"weapon_satchel")
        
give_item(id,"weapon_satchel")
        
give_item(id,"item_security")
        
give_item(id,"item_antidote")
    }

__________________

Last edited by fysiks; 08-02-2011 at 08:45.
fysiks is offline
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 08-02-2011 , 09:44   Re: [HAMSANDWICH] Failed
Reply With Quote #3

For HL it will not work without set_task
__________________
Полный похуизм.
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-02-2011 , 10:13   Re: [HAMSANDWICH] Failed
Reply With Quote #4

Quote:
Originally Posted by Flipper_SPb View Post
For HL it will not work without set_task
Why not? Even if you hook it as post? I could imagine that a set_task() would be a "work around" if you were hooking it as pre.
__________________
fysiks is offline
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 08-02-2011 , 16:00   Re: [HAMSANDWICH] Failed
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
Even if you hook it as post?
Yes. I used another way to give the same equipment for every player at spawn.
I create game_player_equip entity
__________________
Полный похуизм.
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 08-02-2011 , 08:45   Re: [HAMSANDWICH] Failed
Reply With Quote #6

EDIT: Same solution as fysiks.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet 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 03:32.


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