07-18-2011, 14:50
07-18-2011, 14:58
Maybe this can help you, look the thing inside the loop.
http://www.itsmods.com/forum/Thread-Knif...knife.html
http://www.itsmods.com/forum/Thread-Knif...knife.html
07-18-2011, 15:08
if(!self hasweapon("x_sp"))
{
self takeweapon("xx_sp");
}
What the code does is take a weapon if you DON'T have it..
it should be this: ('!' removed)
if(self hasweapon("x_sp"))
{
self takeweapon("xx_sp");
}
{
self takeweapon("xx_sp");
}
What the code does is take a weapon if you DON'T have it..
it should be this: ('!' removed)
if(self hasweapon("x_sp"))
{
self takeweapon("xx_sp");
}
07-18-2011, 15:09
(07-18-2011, 14:58)Yamato Wrote: [ -> ]Maybe this can help you, look the thing inside the loop.
http://www.itsmods.com/forum/Thread-Knif...knife.html
Your code is close to what I mean but its not
hard to explain it :S
(07-18-2011, 15:08)Pozzuh Wrote: [ -> ]if(!self hasweapon("x_sp"))
{
self takeweapon("xx_sp");
}
What the code does is take a weapon if you DON'T have it..
it should be this: ('!' removed)
if(self hasweapon("x_sp"))
{
self takeweapon("xx_sp");
}
I know thats what I want but it doesnt seems to work, I want it that if he doesnt have a weapon it takes another
I dont know why but when I have that weapon, or not self hasweapon on that weapon doesnt work :S
07-18-2011, 16:09
What do u want?
Do u want a special weapon been taken, when u have not a special weapon?
Or what?
Do u want a special weapon been taken, when u have not a special weapon?
Or what?