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

Join the forum, it's quick and easy

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
www.gmindo.web.id/forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

array problem :(

4 posters

Go down

array problem :( Empty array problem :(

Post by ilhamroxas Wed 03 Jul 2013, 21:31

ada yang tau nggak misalnya a[0]="pedang cahaya"; a[1]="pedang kegelapan"; dan a[2]="pedang remang remang"; terus if !instance_exists(obj_boss){a[semuanya]=sc_unlocked;} Bingung nah a[]-nya itu aku bingung supaya a itu mencakup semua pedang itu gimana ? Bingung 

ilhamroxas
Newbie
Newbie

100%
Jumlah posting : 10
Points : 13
Join date : 09.01.13
Age : 25
Lokasi : banjarmasin

Kembali Ke Atas Go down

array problem :( Empty Re: array problem :(

Post by Asuna Wed 03 Jul 2013, 21:37

Code:
for(i=0;i<3;i+=1){
    a[i]=sc_unlocked;
}
you must still suck at programming basics Dry
Asuna
Asuna
Global Moderator
Global Moderator

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

Kembali Ke Atas Go down

array problem :( Empty Re: array problem :(

Post by ilhamroxas Wed 03 Jul 2013, 21:41

thanks Smile  but i know you're wayyyyy better than me so don't call me suck at programming #i'm still learning :p

ilhamroxas
Newbie
Newbie

100%
Jumlah posting : 10
Points : 13
Join date : 09.01.13
Age : 25
Lokasi : banjarmasin

Kembali Ke Atas Go down

array problem :( Empty Re: array problem :(

Post by Asuna Wed 03 Jul 2013, 21:46

nope, anda butuh lbh banyak latihan programming Pacman
kalo mau silakan latian soal2 TOKI (olimpiade komputer) Razz
Ngacir
Asuna
Asuna
Global Moderator
Global Moderator

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

Kembali Ke Atas Go down

array problem :( Empty Re: array problem :(

Post by greckminas Wed 03 Jul 2013, 21:47

knapa gk gini aja
Code:
a[0]="pedang cahaya";
a[1]="pedang kegelapan";
a[2]="pedang remang remang"
Code:
if !instance_exists(obj_boss)
{a[0]=sc_unlocked;
a[1]=sc_unlocked;
a[2]=sc_unlocked}
greckminas
greckminas
GM Beginner
GM Beginner

100%
Jumlah posting : 353
Points : 382
Join date : 09.06.13
Age : 22
Lokasi : Bandung

http://ranggayy.blogspot.com

Kembali Ke Atas Go down

array problem :( Empty Re: array problem :(

Post by Riza_Farhandi Wed 03 Jul 2013, 22:06

@greck
itu kepanjangan.... Dry
gimana kalo arraynya ada ratusan...?? Razz


Terakhir diubah oleh Riza_Farhandi tanggal Wed 03 Jul 2013, 22:09, total 1 kali diubah (Reason for editing : salah ngomong)
Riza_Farhandi
Riza_Farhandi
GM Beginner
GM Beginner

100%
Jumlah posting : 393
Points : 356
Join date : 24.01.13
Age : 24
Lokasi : Tangerang Selatan

http://mrizaf.mywapblog.com/

Kembali Ke Atas Go down

array problem :( Empty Re: array problem :(

Post by greckminas Wed 03 Jul 2013, 22:09

@Riza
Copas aja Razz
greckminas
greckminas
GM Beginner
GM Beginner

100%
Jumlah posting : 353
Points : 382
Join date : 09.06.13
Age : 22
Lokasi : Bandung

http://ranggayy.blogspot.com

Kembali Ke Atas Go down

array problem :( Empty Re: array problem :(

Post by Sponsored content


Sponsored content


Kembali Ke Atas Go down

Kembali Ke Atas

- Similar topics

 
Permissions in this forum:
Anda tidak dapat menjawab topik