www.gmindo.web.id/forum
Forum ini sudah tidak dipakai lagi. Silakan ke forum baru di www.gmindo.web.id/forum Very Happy

Terima kasih

(ASK) LPWinAPI button caused error

Go down

(ASK) LPWinAPI button caused error

Post by Zihad Rizky Edwin Fikri on Wed 29 Jan 2014, 20:17

CREATE
Code:

api_init()

bt_write=api_button_create(window_handle(),1,1,70,20,WS_VISIBLE|WS_CHILD|BS_PUSHBUTTON,0)
api_control_set_text(bt_write,"Write")

STEP
Code:
if api_button_get_clicked(bt_write){
room_instance_add(room2,0,0,obj_write)
room_goto_next()}

GAME END
Code:
api_deinit()

kenapa pas tombolnya di klik game langsung error? Muncul windows box yg judulnya
"ZR Text Encryptor.exe has stopped working"
avatar
Zihad Rizky Edwin Fikri
GM Beginner
GM Beginner

55%
Jumlah posting : 409
Points : 431
Join date : 12.05.13
Age : 20
Lokasi : jaktim

Lihat profil user

Kembali Ke Atas Go down

Re: (ASK) LPWinAPI button caused error

Post by Asuna on Wed 29 Jan 2014, 21:04

sorry I don't use LPWinAPI but I guess room_instance_add may cause this, coba mending pake instance_create di event create salah satu instance object di room2
avatar
Asuna
Global Moderator
Global Moderator

100%
Jumlah posting : 1711
Points : 1901
Join date : 10.01.13

Lihat profil user

Kembali Ke Atas Go down

Re: (ASK) LPWinAPI button caused error

Post by Zihad Rizky Edwin Fikri on Thu 30 Jan 2014, 02:11

@Asuna, ga ko bro, tadi dah di coba tanpa pake extension LPWinAPI, tapi ga error ko, tapi pas pake LPWinAPI malah error
avatar
Zihad Rizky Edwin Fikri
GM Beginner
GM Beginner

55%
Jumlah posting : 409
Points : 431
Join date : 12.05.13
Age : 20
Lokasi : jaktim

Lihat profil user

Kembali Ke Atas Go down

Re: (ASK) LPWinAPI button caused error

Post by Asuna on Thu 30 Jan 2014, 09:16

dude gk usah basa basi, coba dulu caraku itu
atau sekedar testing codenya itu coba diganti apa aja, mis:
Code:
if api_button_get_clicked(bt_write){
show_message("tes")
}

If the problem persists, report bug ke authornya atau download ulang extensionnya yg latest
avatar
Asuna
Global Moderator
Global Moderator

100%
Jumlah posting : 1711
Points : 1901
Join date : 10.01.13

Lihat profil user

Kembali Ke Atas Go down

Re: (ASK) LPWinAPI button caused error

Post by Sponsored content


Sponsored content


Kembali Ke Atas Go down

Kembali Ke Atas


 
Permissions in this forum:
Anda tidak dapat menjawab topik