Thread: Hero problem!
View Single Post
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 05-10-2011 , 15:41   Re: Hero problem!
Reply With Quote #22

Quote:
Originally Posted by Jelle View Post
The way it is now it just checks if user has galil and does nothing, and if user has deagle it sets both deagle and galil model on the deagle.
That's actually wrong. Right now it does this:

Code:
if(get_user_weapon(index) == CSW_GALIL) {    if(get_user_weapon(index) == CSW_DEAGLE)    {       //Code    } }

Anyways, the snippet you provided afterwards is correct.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod