AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Force player to dead. (https://forums.alliedmods.net/showthread.php?t=170715)

Evaldas.Grigas 10-28-2011 08:32

Force player to dead.
 
Whats command to force player kill?
How to kill a player?

EDIT: I found it.
PHP Code:

user_kill(idflags=0


FPcokE 10-28-2011 09:07

Re: Force player to dead.
 
you could use "client_cmd(player, "kill");" but i dont know what others would use

Evaldas.Grigas 10-28-2011 09:08

Re: Force player to dead.
 
I found that command in amxmodx include.

keyblade 10-28-2011 09:40

Re: Force player to dead.
 
just user_kill(id)

you can add the flag after id
if flag is 1, the death count will decrease when the round end
like this: user_kill(id, 1)

Evaldas.Grigas 10-28-2011 10:15

Re: Force player to dead.
 
So if I'll use
PHP Code:

user_kill(id1

That death will decrease by 1?

Erox902 10-28-2011 11:09

Re: Force player to dead.
 
Quote:

Originally Posted by Evaldas.Grigas (Post 1584916)
So if I'll use
PHP Code:

user_kill(id1

That death will decrease by 1?

Try it out instead of asking...
Or even better search...
user_kill

Evaldas.Grigas 10-28-2011 11:17

Re: Force player to dead.
 
Ok. Thank you. But I have one more question. Does it makes 1+ death into rank?

Erox902 10-28-2011 11:18

Re: Force player to dead.
 
Quote:

Originally Posted by Erox902 (Post 1584956)
Try it out instead of asking...


Evaldas.Grigas 10-28-2011 11:20

Re: Force player to dead.
 
I am not at home... And I can get answer in few seconds. If I'll try it will take 2minutes.

Erox902 10-28-2011 11:33

Re: Force player to dead.
 
Quote:

Originally Posted by Evaldas.Grigas (Post 1584969)
I am not at home... And I can get answer in few seconds. If I'll try it will take 2minutes.

Yes getting an answer can go on a few seconds... Or up to 3weeks...

This is just pure laziness.
Like you said it will take 2 minutes...
I don't know the answer either so I would have to try it, just as you.


All times are GMT -4. The time now is 14:27.

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