(07-13-2014, 10:15 PM)Mudbill Wrote: If you need to use global variables, just change the AddLocalVarInt to AddGlobalVarInt, as well as the Set and Get versions. That's all.
wow o: seems simple

Thanks for all your help! ^^
okay so its not working with notes from other maps

I've tried adding the same function to each note like:
SetEntityPlayerInteractCallback("note_generic_1", "AddOneToFunction", true);
and then adding the function on each map:
void AddOneToFunction(string &in asEntity)
{
AddGlobalVarInt("monster_appear", 1);
}
but it doesnt seem to be working with the notes from other maps... just the one I had written the Global Variable in

Help please, any ideas why it's not working?