Raised This Month: $12 Target: $400
 3% 

ExecuteHamB(Ham_Spawn, id)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 04-08-2016 , 03:15   ExecuteHamB(Ham_Spawn, id)
Reply With Quote #1

Hi ! when i used this player spawn with crowbar weapon ? how to fix this !

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



public plugin_init() {
    
register_clcmd("say a""spawn");
}

public 
spawn(id)
{
    
ExecuteHamB(Ham_Spawnid);



__________________

Last edited by abdobiskra; 04-08-2016 at 03:18.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
Old 04-08-2016, 08:40
Bos93
This message has been deleted by Bos93.
wickedd
Veteran Member
Join Date: Nov 2009
Old 04-08-2016 , 19:06   Re: ExecuteHamB(Ham_Spawn, id)
Reply With Quote #2

What game?
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 04-08-2016 , 20:27   Re: ExecuteHamB(Ham_Spawn, id)
Reply With Quote #3

The Spawn function will give you the necessary equipment. Namely weapon_crowbar, weapon_9mmhandgun and a few clips. (assuming the game is HLDM). You can't pick up "another" crowbar, and since weapon_crowbar won't "dissapear" like CS's knife (if I'm wrong please correct me since I'm not exactly sure about this one), it will stay on the ground, ready for anyone to pick it up, since that's its default behavior in Half-Life.

I assume you executed Ham_Spawn while alive.
__________________

Last edited by gabuch2; 04-08-2016 at 20:29.
gabuch2 is offline
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 04-09-2016 , 00:16   Re: ExecuteHamB(Ham_Spawn, id)
Reply With Quote #4

Sloved !
wickedd
Half-Life 1
__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 04-09-2016 , 18:38   Re: ExecuteHamB(Ham_Spawn, id)
Reply With Quote #5

And solution is here: http://aghl.ru/forum/viewtopic.php?f=28&t=2428#p26380
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
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 00:08.


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