View Single Post
Old 03-07-2012, 02:43 PM   #136
Marius Fett
@Marius Fett
Frigged if I know!
Marius Fett's Avatar
Join Date: May 2007
Location: Wales
Posts: 3,381
You haven't declared your variables.

For example, oPC on it's own doesn't mean anything. If you do this:

void main()
		object oPC = GetFirstPC();
		CreateItemOnObject("g_a_jediscout", oPC);
		CreateItemOnObject("g_w_lghtsbr10", oPC);
It should work fine. Same with oTarget, you haven't said what oTarget is.

Visit the new!
Marius Fett is offline   you may: quote & reply,