AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   I start with Pistal start begin (https://forums.alliedmods.net/showthread.php?t=134746)

Whaat93 08-08-2010 07:00

I start with Pistal start begin
 
Good morning! :wink:

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

GXLZPGX 08-08-2010 09:17

Re: I start with Pistal start begin
 
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.

Whaat93 08-08-2010 14:57

Re: I start with Pistal start begin
 
I just forgot to add Hide N Seek plugin :wink:

Trash this!


All times are GMT -4. The time now is 00:08.

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