Declaring a Varible

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

namespoofer
V.I.P.
Posts: 332
Joined: March 4th, 2007, 12:39 am
Location: United States

Post by namespoofer »

Anything after a '//' is IGNORED by the game! It is just used to place comments!

Code: Select all

globals
udg_Chetz=null
gg_trg_gold=null




endglobals
function gold takes nothing returns boolean
return blah blah
//Your Cheat trigger here


function main takes nothing returns nothing
//There may or may not be locals under function main, if there are, init your trig AFTER them!
local asdf
local asdf =blah
call InitTrig_gold()
//If there are no locals, then just put call InitTrig_gold() under it!
Replace 'gold' with the name of your trigger!

GG I win.
Image
Doesn't Dekar make the world easier?

"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!"
"I'm sorry I doubted your great wisdom Patrick!"

Catch me on Azeroth (U.S. East) - NameSpoofer