hi,
i know you maybe lol @ me but i just 4got manythings
my problem :
i want to catch the weapon in deathmsg event & check if the weapon exists in my list...
Code:
new weapons[][]=
{
"weapon_p228",
"weapon_scout",
"weapon_xm1014",
"weapon_mac10",
"weapon_aug",
"weapon_elite",
"weapon_fiveseven",
"weapon_ump45",
"weapon_sg550",
"weapon_galil",
"weapon_famas",
"weapon_usp",
"weapon_glock18",
"weapon_awp",
"weapon_mp5navy",
"weapon_m249",
"weapon_m3",
"weapon_m4a1",
"weapon_tmp",
"weapon_g3sg1",
"weapon_deagle",
"weapon_sg552",
"weapon_ak47",
"weapon_p90"
}
ublic EventDeathMsg()
{
new iKiller = read_data( 1 )
static weapon[7];
read_data(4,weapon,6);
if(user_is_warned[iKiller])
{
client_print(0,print_chat,"Lol TEST ?! WAFFE = %s ",weapon)
}
}
now the question :
how to check
if( weapon == weapons)
i know its a very beginner question but i just 4get manythings
__________________