I hate to necro my old thread but I am trying to remake my old server and having an issue getting this to work again. I have added the code to the global.player.pl file, but can not seem to get it to work. (I renamed the .lua file of the same name)
I see someone above had an issue and said they found a way to fix it but didn't post the fix. Is there a new way to write this code to get it to work?
this is what I put in the file
sub EVENT_LEVEL_UP {
if ($ulevel < 51) {
$client->SetAAPoints(($client->GetAAPoints() + 2));
}
|