Quote:
Originally posted by Lion'el-Jonson
if (playerchats&&strcontains(#c,root beer)&&playerruppees>=1)
{set gbbr;playerrupees-=1}
if (playerchats&&strcontains(#c,root beer)&&playerruppees>=0)
{say2 You don't have enough gralats#.}
WTF IS WRONG WITH IT? When I say root beer it says You don't have enough gralats even when I have money! help help help!
|
With the "if (playerchats&&strcontains(#c,root beer)&&playerruppees>=0)"
it shouldn't be playerrupees>= but playerrupees <=