プレイ日記
Ep17 EmPx17
How do i make a program where it prints how much ammo i have and when i push L it make the amount of ammo lower? (like its shooting) The code in the screenshot is just a test thing.
3そうだね
プレイ済み
返信[1]
親投稿
Josiah Spike4
Do this IF AMMO>0 && (BUTTON(2) AND #L) THEN AMMO=AMMO-1
2そうだね
プレイ済み
返信[2]
親投稿
Ep17 EmPx17
Ok, thanks Im not that good with variables.
1そうだね
プレイ済み
返信[3]
親投稿
Ep17 EmPx17
Like this? It says syntax error in line 7
1そうだね
プレイ済み
返信[4]
親投稿
bill r10l12
nice color scheme!!!
1そうだね
プレイ済み
返信[5]
親投稿
Josiah Spike4
Put the if ammo and then ammo lines together.
0そうだね
プレイ済み