no look at this
his
Code:
public terrorist_giveweapons(id)
{
if ( gHasTerroristPower[id] && is_user_alive(id) && shModActive() ) {
if ( get_user_team(id) == 1 ) shGiveWeapon(id,"weapon_c4") { <--- wrong place
}
}
my
Code:
public terrorist_giveweapons(id)
{
if ( gHasTerroristPower[id] && is_user_alive(id) && shModActive() ) {
if ( get_user_team(id) == 1 ) shGiveWeapon(id,"weapon_c4") <---- right one do not need an extra } there
}
}
__________________