AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to slay a user but .. (https://forums.alliedmods.net/showthread.php?t=21830)

DotNetJunkie 12-11-2005 13:30

How to slay a user but ..
 
In The Specialists, how do slay a player but not affect his score
or have him drop his weapons?

I need this for a plugin that adds a new type of gamemode,
additionally I notice that some plugins actually alter the "Game" field
in the server browser, is this something that AMXX can do or is it
a MetaMod thing?

Thanks for any input!

Jordan 12-11-2005 17:57

Code:
new frags = get_user_frags(id) set_user_frags(id, frags+1)

You can try it. :)

you can also do:

Code:
user_kill(id, 1)

VEN 12-12-2005 04:06

Re: How to slay a user but ..
 
Quote:

Originally Posted by DotNetJunkie
I notice that some plugins actually alter the "Game" field
in the server browser, is this something that AMXX can do or is it
a MetaMod thing?

register_forward(FM_GetGameDescription, ...)


All times are GMT -4. The time now is 15:57.

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