HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Return Integer?

04-17-2006, 01:04 AM#1
Immoralis
Collapse JASS:

function teatea takes nothing returns integer
   return udg_Dropped_Items[1])
endfunction


dropped_Items is a item type array

i always thought itemtypes were integers, anyway theis crashes when i save
04-17-2006, 01:10 AM#2
PipeDream
close paren.

item types can be both handle and integer
Collapse JASS:
constant native ConvertItemType             takes integer i returns itemtype
will probably be of use to you
04-17-2006, 01:39 AM#3
The_AwaKening
It's crashing because you have ) at the end. Remove that.