I used a simple script:
void main(){
GiveGoldToCreature(GetFirstPC(),30000);
}
I anexed the script in the OnPCLoad, OnModuleLoad, OnModuleStart, OnClientEnter in module properties and it doesnt work.
What is the problem?
I used a simple script:
void main(){
GiveGoldToCreature(GetFirstPC(),30000);
}
I anexed the script in the OnPCLoad, OnModuleLoad, OnModuleStart, OnClientEnter in module properties and it doesnt work.
What is the problem?
Try On Client Enter of the properties of the first area, not the module.
Thank you guys, but i think i fount out the problem. I was annexing the script in ALL of those fields to make sure at least one would execute the script. But it seems it doesnt work this way, because now i annexed only in OnClientEnter of the module and it works fine.
Reloading from saved games will prove very profitable with that script. ![]()