Quote:
Originally Posted by leonardo121
Which Function? show the full code
|
Code:
Publiczne hs ()
{
Nowy hsmode [4]
Get_pcvar_string (hs_mode, hsmode, 4)
Nowy hsmode_bit = read_flags (hsmode)
If (hsmode_bit & 1)
{
Nowy killer_id = read_data (1)
Nowy victim_id = read_data (2)
Nowa nazwa_induktu [33]
Get_user_name (victim_id, victim_name, 33)
Set_hudmessage (200, 100, 0, -1,0, 0,30, 0, 3,0, 3,0, 0,15, 0,15, 1)
ShowSyncHudMsg (killer_id, gmsgHudSync, "HEADSHOT", nazwa_użytkownika)
}
If (hsmode_bit & 2)
{
Dla (nowe i = 1; i <= get_maxplayers (), i ++)
Jeśli (is_user_connected (i) == 1)
Client_cmd (i "spk misc / headshot")
}
}