AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Find owner of HE (https://forums.alliedmods.net/showthread.php?t=55096)

djmd378 05-13-2007 13:57

Find owner of HE
 
How would I find the owner of the HE while using this?


Code:
public plugin_init() {     register_message(23, "grenade_explosion") } public grenade_explosion() {     if (cs_get_user_team(id, CS_TEAM_T) { // How would I find the correct id?         if(get_msg_arg_int(1) == 3 && get_msg_arg_int (6) == 25 && get_msg_arg_int (7) == 30) {             //Some codes here         }     } }

Alka 05-13-2007 14:43

Re: Find owner of HE
 
use this function from csx!
Code:

grenade_throw(id,grenindex,wid)


All times are GMT -4. The time now is 10:29.

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