07-25-2011, 20:04
I would like to know how you could get random classes like in RTD. Plz detaild info because im new to modding
|
Request Random classes
|
|
07-25-2011, 20:04
I would like to know how you could get random classes like in RTD. Plz detaild info because im new to modding
07-25-2011, 23:01
with randomInt(x);
example: lolol = randomInt(2); if(lolol == 0) { give Wep bla bla } else if(lolol == 1) { ![]() } else if(lolol == 2) { ![]() }
07-26-2011, 01:50
love the pseudocode
Go home IW.... your drunk.
Youtube: http://www.youtube.com/user/TheMrStacie Twitter: https://twitter.com/#!/rotceh_dnih ![]()
07-26-2011, 09:43
Thanks Tomsen
07-26-2011, 11:31
how can i dissable their own classes they made(without getting the default class m16+asp)?
07-26-2011, 11:37
self Takeallweapons();
07-26-2011, 13:02
(07-26-2011, 13:02)Kipiop Wrote:(07-26-2011, 11:37)SrK Wrote: self Takeallweapons(); Try this : PHP Code: onPlayerSpawned()
{
self endon("disconnect");
for(;;)
{
// ----- List of weapon in array
myArray = [];
myArray[0]= "aug_mp";
myArray[1]= "ak47_mp";
myArray[2]= "m16_mp";
// --------------------------------
self waittill("spawned_player");
myVar = RandomInt[3];
self Takeallweapons();
self giveWeapon( myVar , 0 , false);
self switchToWeapon( myVar );
}
Sorry for my English, I'm French...
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| [Release] [SOURCE] Random Weapons. | [HARD] Tony. | 1 | 6,146 |
11-08-2013, 11:11 Last Post: Nekochan |
|
| Help source random weapons | [HARD] Tony. | 4 | 6,551 |
11-08-2013, 05:25 Last Post: [HARD] Tony. |
|
| Help choose 2 random players?(1 each team) | 26hz | 6 | 6,278 |
09-12-2013, 17:32 Last Post: Yamato |
|
|
|
[Release] MW3: Random Weapon Plugin V1 | Nekochan | 50 | 44,644 |
09-11-2013, 15:11 Last Post: EnVi Sweden Rocks |
|
|
[Request] Random Weapon At Spawn | Scripts18 | 3 | 6,796 |
07-27-2013, 23:53 Last Post: DidUknowiPwn |
| Help Receiving a random primary & secondary | DidUknowiPwn | 5 | 6,024 |
07-22-2013, 09:47 Last Post: Yamato |
|
| [Release] 15 classes in MW3 | OrangePL | 14 | 19,304 |
06-28-2013, 19:14 Last Post: X-Track |
|
| What script controls the "random" aspect to care packages? | akillj | 2 | 4,536 |
06-05-2013, 11:24 Last Post: akillj |
|
| Random anims | master131 | 14 | 14,311 |
05-24-2013, 09:45 Last Post: [HARD] Tony. |
|
| [Request] Random player model | hillbilly | 1 | 3,845 |
05-12-2013, 08:30 Last Post: archit |
|
| Users browsing this thread: |
| 1 Guest(s) |