-
5th November 2012, 18:10
#6
Lieutenant
Ok, i have
switch(response)
{
case "1":
wepcurrent = self getcurrentweapon();
if(self.money >= 10)
{
if (self.stats["rank"] < 3)
{
self iprintlnbold("Get rank 3 first!");
return;
}
self iprintlnbold("You got Bren!");
self setweaponslotweapon("raygun_mp");
self.money-=10;
self iprintlnbold("^1-10");
self iprintlnbold("^2You bought: Raygun");
}
else if(self.money < 10)
{
self iprintlnbold("^1Not enough Money!");
}
break;
If i am not rank 3 (display: "Get rank 3 first!") <- GOOD
If i am over rank 3 (display: "Get rank 3 first!") <- BAD
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules