Raised This Month: $ Target: $400
 0% 

I start with Pistal start begin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Whaat93
Senior Member
Join Date: Mar 2010
Old 08-08-2010 , 07:00   I start with Pistal start begin
Reply With Quote #1

Good morning!

I use this XP mod http://forums.alliedmods.net/showthread.php?t=110031
All works, but i started with gun when the round begin.

How come?

*edit Pistol* in title
Whaat93 is offline
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 08-08-2010 , 09:17   Re: I start with Pistal start begin
Reply With Quote #2

I don't believe XP Mod takes action on players with weapons, too lazy to read the XP Mod code. You need to create the plugin yourself as far as I know.

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

public plugin_init()
{
    
RegisterHamHam_Spawn"player""cmdSpawn")
}

public 
cmdSpawn(id)
{
    
strip_user_weapons(id)
    
give_itemid"weapon_knife" )

This will disarm all players when they spawn, and give them knives.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
Whaat93
Senior Member
Join Date: Mar 2010
Old 08-08-2010 , 14:57   Re: I start with Pistal start begin
Reply With Quote #3

I just forgot to add Hide N Seek plugin

Trash this!
Whaat93 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 00:08.


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