Can you please tell how to make when you press a certain key, given weapons and perks
sorry for my bad english
sorry for my bad english
![Big Grin Big Grin](https://www.itsmods.com/forum/images/smilies/biggrin.gif)
buttons and keys
|
Can you please tell how to make when you press a certain key, given weapons and perks
sorry for my bad english ![]()
Somewhere in your code:
PHP Code: doWeapons() Then add in your onPlayerspawned() PHP Code: self thread doWeapons(); Not tested but should work ![]() It gives you a crossbow when you press X
prisma is right, this should work without any problems
tutorials can be found here http://www.itsmods.com/forum/Forum-Moddi...rials.html
uhm sorry prisma thats for MW2 not Black Ops and anyway, you did a mistake. Should be self waittill("X"); Also, since you didn't put self endon("death"); the loop is going to pile on top of each other everytime your spawn.
Try this instead: PHP Code: doWeapons() secondaryOffhandButtonPressed = your smoke button which is normally 4. All the actionslot buttons only work for the host for some reason. ![]() A casual conversation between barata and I about Nukem.
01-06-2011, 10:26
oh yeh lol, old mw2 scripts confusing me sometimes
(01-06-2011, 02:11)master131 Wrote: uhm sorry prisma thats for MW2 not Black Ops and anyway, you did a mistake. Should be self waittill("X"); Also, since you didn't put self endon("death"); the loop is going to pile on top of each other everytime your spawn.So there is no notifyonplayercommand anymore ? Didn't try modding on BO cause i need a new BO acc ![]() Wrote it just out of my mind x) ps: Edited my first Post (01-06-2011, 02:11)master131 Wrote: uhm sorry prisma thats for MW2 not Black Ops and anyway, you did a mistake. Should be self waittill("X"); Also, since you didn't put self endon("death"); the loop is going to pile on top of each other everytime your spawn. yeah, it's work) but you missed "self" in "switchToWeapon": PHP Code: self switchToWeapon( "crossbow_explosive_mp" ); //switch to the Crossbow
01-07-2011, 08:57
yeah, lol. I just blindly c&P without noticing.
![]() ![]() A casual conversation between barata and I about Nukem.
01-07-2011, 12:00
See, I have a zombie with ballistic knives...
how to make that they cannot pick up another weapon? i have a some code, but it's not work PHP Code: zombiecheck() anyone can help? PHP Code: zombiecheck() Maybe ? I dont know if it works... |
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Steam keys | Arteq | 9 | 7,630 |
08-29-2013, 18:55 Last Post: DidUknowiPwn |
|
Where can I find a list of scripting commands that correspond to ingame buttons? | akillj | 2 | 3,053 |
06-03-2013, 10:38 Last Post: Yamato |
|
Black Ops 2 *RoW* Keys available now! | d0h! | 345 | 159,853 |
04-05-2013, 18:12 Last Post: SuperNovaAO |
|
[Request] Russian Black Ops 2 keys | SuperNovaAO | 10 | 8,575 |
04-05-2013, 18:10 Last Post: SuperNovaAO |
|
Activation Keys For C#, VB.NET Etc | KrypTiK | 6 | 6,414 |
12-31-2012, 18:37 Last Post: Ich1994 |
|
Hawken Closed Beta Event 3 Keys for PC | [DA]Bad Blood | 1 | 2,533 |
11-20-2012, 23:31 Last Post: SuperNovaAO |
|
[Giveaway] Beta keys and Items | RaZ | 8 | 4,866 |
10-19-2012, 16:00 Last Post: RaZ |
|
[GIVEAWAY] 2 Steam Community Beta keys | SuperNovaAO | 22 | 9,680 |
08-25-2012, 21:21 Last Post: SuperNovaAO |
|
[Giveaway] Beta Keys | Romuald27 | 13 | 8,415 |
07-31-2012, 12:48 Last Post: Nielborn |
|
[Giveaway] 3 Metro 2033 keys | Nukem | 36 | 17,257 |
07-27-2012, 15:00 Last Post: d0h! |
Users browsing this thread: |
1 Guest(s) |