View Single Post
Om3gA
Veteran Member
Join Date: Feb 2005
Old 07-24-2005 , 18:27  
Reply With Quote #27

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 
    } 
}
__________________
Om3gA is offline
Send a message via AIM to Om3gA Send a message via MSN to Om3gA Send a message via Yahoo to Om3gA Send a message via Skype™ to Om3gA