Here's the error:
[codebox]
___________________________________________
FATAL ERROR in
action number 1
of Keyboard Event for <Left> Key
for object cloud:
COMPILATION ERROR in code action
Error in code at line 6:
writebyte(0)
at position 2: Variable name expected.
[/codebox]
And here's the code (keyboard left event, same for other directions):
[codebox]if place_free(x-3,y){
x-=3
sprite_index=SECRET
image_speed=0.3
clearbuffer
writebyte(0)
writeshort(x)
sendmessage(global.udpsock,global.otherip,global.o
therudpport)[/codebox]
And no one say anything about coding style, optimization or anything, it's just a test after all
Edited by sithlord6, 11 June 2008 - 12:55 AM.











