Quote:
Originally Posted by Linux inside
First , Sry i m new in Thise Forum so excuse me when i done something Wrong
Second : Thank you for thise help , and i have thougt that i should make it like
PHP Code:
public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR); g_iMaxPlayers = get_maxplayers() register_clcmd("+use", "menu") cvar_playerinfo = register_cvar("jailbreak_playerinfo", "1") }
public menu (id) { if (cs_get_user_team(id) != CS_TEAM_CT || !is_user_alive(id)) { return PLUGIN_HANDLED; }
but i don t know how get the get_user_aiming to the next function that Glows the Player wich the Ct has Looked at . Any idea ?
|
The way that mine is set up is Where the comment is it is called when you press the use key.
So try it out. put something like
PHP Code:
get_user_aiming(id, target, body)
new targname[18]
get_user_name(id, targname, 17)
client_print(id, print_chat, "You pressed the use key aiming at %s", targname)