Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Random Case problem
#1
look @ this:

i have in my mod a random pick thread and there are 36 cases (0 - 35)

when i load my mod it says this:


[Image: FBA434422F6DE61662A2FC7A4B23C5722E5D75ED]
and case 33 is the same as the other cases :S

plz tell me how to fix this`


After it I editted my thread and now it are all of the cases that are wrong :S(so you could think the case 33 away it are all the cases or somehing) -> do I have to mutch cases or something?
Black Ops Mods:

RPG(rocket launcher) mod
Get the Specials

Old aliasses:

eliteCVDelite
CVD

Reply

#2
Image not working. Nyan Cat

EDIT: nice OMA
Reply

#3
Page isn't loading here either.
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#4
You have double thing like:
Quote:case 33:
1func
break;
case 33;
2func
break;
Make it in one case like:
Quote:case 33:
1func
2func
break;
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#5
(09-17-2011, 14:14)Se7en Wrote: You have double thing like:
Quote:case 33:
1func
break;
case 33;
2func
break;
Make it in one case like:
Quote:case 33:
1func
2func
break;

This. It's pretty obvious, the game is telling you 'duplicate'. Dodgy
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#6
(09-17-2011, 14:21)master131 Wrote:
(09-17-2011, 14:14)Se7en Wrote: You have double thing like:
Quote:case 33:
1func
break;
case 33;
2func
break;
Make it in one case like:
Quote:case 33:
1func
2func
break;

This. It's pretty obvious, the game is telling you 'duplicate'. Dodgy


Then why he is created thread. He can't read ? Huh
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#7
fixed. Sorry for bothering u guys.

I was so dumb that i didnt look @ the numbers, I only looked @ the functions lol
Black Ops Mods:

RPG(rocket launcher) mod
Get the Specials

Old aliasses:

eliteCVDelite
CVD

Reply

#8
You delcared case 28 - 33 twice.

Code:
        case 28: //Case 28
            self giveWeapon("wa2000_mp");
        break;
        case 29: //Case 29
            self giveWeapon("l96a1_mp");
        break;
        case 30: //Case 30
            self giveWeapon("psg1_mp");
        break;
        case 31: //Case 31
            self giveWeapon("asp_mp");
        break;
        case 32: //Case 32
            self giveWeapon("cz75_mp");
        break;
        case 33: //Case 33
            self giveWeapon("m1911_mp");
        break;
        case 28: // Case 28 again?
            self giveWeapon("python_mp");
        break;
        case 29: //Case 29 again?
            self giveWeapon("makarov_mp");
        break;
        case 30: //Case 30 again?
            self giveWeapon("m72_law_mp");
        break;
        case 31: //Case 31 again?
            self giveWeapon("rpg_mp");
        break;
        case 32: //Case 32 again?
            self giveWeapon("china_lake_mp");
        break;
        case 33: //Case 33 again?
            self giveWeapon("knife_balistic_mp");
        break;
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#9
edit: nvm
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
Reply

#10
(09-17-2011, 14:14)Se7en Wrote: You have double thing like:
Quote:case 33:
1func
break;
case 33;
2func
break;
Make it in one case like:
Quote:case 33:
1func
2func
break;

case 33;?

Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Android problem Yamato 12 8,236 04-25-2014, 04:49
Last Post: ScHmIdTy56789
  [Release] [SOURCE] Random Weapons. [HARD] Tony. 1 4,134 11-08-2013, 11:11
Last Post: Nekochan
  Help source random weapons [HARD] Tony. 4 4,734 11-08-2013, 05:25
Last Post: [HARD] Tony.
  Problem with Rain Effects on Maps mitchhacker 5 4,888 10-22-2013, 00:46
Last Post: mitchhacker
  Help choose 2 random players?(1 each team) 26hz 6 4,688 09-12-2013, 17:32
Last Post: Yamato
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 33,478 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
Exclamation [Request] Random Weapon At Spawn Scripts18 3 4,777 07-27-2013, 23:53
Last Post: DidUknowiPwn
  Help Receiving a random primary & secondary DidUknowiPwn 5 4,436 07-22-2013, 09:47
Last Post: Yamato
  Help Liberation Problem Yamato 27 25,033 07-17-2013, 19:54
Last Post: feature
  [xna 4]Rendering problem narkos 9 5,993 07-03-2013, 19:00
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.