hey, i need abit struct help:
current:
globals
integer Unit
endglobals
struct CREATE
static method UNIT takes nothing returns nothing
call CreateUnit(Player(0), Unit, 0, 0, 0)
endmethod
endstruct
meh
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Custom script: set Unit = 'hpea'
Custom script: call CREATE.UNIT()
and i want it to be
call CREATE.UNIT('hpea')
btw, ITS FOR PRACTICE