Otwieram projekt w GMS.
Pojawia się okno.
Error in Object player, Event Key Release A-key, Action 9: Symbol , or ) expected.
Error in Object player, Event Key Release A-key, Action 11: Symbol , or ) expected.
Error in Object player, Event Key Release A-key, Action 13: Symbol , or ) expected.
Error in Object player, Event Key Release D-key, Action 9: Symbol , or ) expected.
Error in Object player, Event Key Release D-key, Action 11: Symbol , or ) expected.
Error in Object player, Event Key Release D-key, Action 13: Symbol , or ) expected.
Error in Object player, Event Key Release S-key, Action 9: Symbol , or ) expected.
Error in Object player, Event Key Release S-key, Action 11: Symbol , or ) expected.
Error in Object player, Event Key Release S-key, Action 13: Symbol , or ) expected.
Error in Object player, Event Key Release W-key, Action 9: Symbol , or ) expected.
Error in Object player, Event Key Release W-key, Action 11: Symbol , or ) expected.
Error in Object player, Event Key Release W-key, Action 13: Symbol , or ) expected.
To są bloczki, i jestem pewien że nie ma w nich żadnych błędów
Key Release Event for A-key Key:
if reloading is equal to 1
exit this event
if firing is equal to 1
exit this event
if keyboard_check(0x57) is equal to 0
if keyboard_check(0x44) is equal to 0
if keyboard_check(0x53) is equal to 0
if knife is equal to 0
set variable walksprite to 0
if item is equal to ""
set the sprite to player_idle with subimage 0 and speed 1
exit this event
if item is equal to "pistol"
set the sprite to player_pistolidle with subimage 0 and speed 1
exit this event
if item is equal to "rifle"
set the sprite to player_rifleidle with subimage 0 and speed 1
exit this event
Key Release Event for D-key Key:
if reloading is equal to 1
exit this event
if firing is equal to 1
exit this event
if keyboard_check_pressed(0x41) is equal to 0
if keyboard_check_pressed(0x57) is equal to 0
if keyboard_check_pressed(0x53) is equal to 0
if knife is equal to 0
set variable walksprite to 0
if item is equal to ""
set the sprite to player_idle with subimage 0 and speed 1
exit this event
if item is equal to "pistol"
set the sprite to player_pistolidle with subimage 0 and speed 1
exit this event
if item is equal to "rifle"
set the sprite to player_rifleidle with subimage 0 and speed 1
exit this event
Key Release Event for S-key Key:
if reloading is equal to 1
exit this event
if firing is equal to 1
exit this event
if keyboard_check_pressed(0x41) is equal to 0
if keyboard_check_pressed(0x57) is equal to 0
if keyboard_check_pressed(0x44) is equal to 0
if knife is equal to 0
set variable walksprite to 0
if item is equal to ""
set the sprite to player_idle with subimage 0 and speed 1
exit this event
if item is equal to "pistol"
set the sprite to player_pistolidle with subimage 0 and speed 1
exit this event
if item is equal to "rifle"
set the sprite to player_rifleidle with subimage 0 and speed 1
exit this event
Key Release Event for W-key Key:
if reloading is equal to 1
exit this event
if firing is equal to 1
exit this event
if keyboard_check_pressed(0x41) is equal to 0
if keyboard_check_pressed(0x44) is equal to 0
if keyboard_check_pressed(0x53) is equal to 0
if knife is equal to 0
set variable walksprite to 0
if item is equal to ""
set the sprite to player_idle with subimage 0 and speed 1
exit this event
if item is equal to "pistol"
set the sprite to player_pistolidle with subimage 0 and speed 1
exit this event
if item is equal to "rifle"
set the sprite to player_rifleidle with subimage 0 and speed 1
exit this event