PDA

View Full Version : task help


Maceblade
09-16-2023, 03:35 PM
Anyone throw an eyeball at this and tell me why this wont fire:

sub EVENT_TASK_COMPLETE
{
if(quest::istaskcompleted(319) == 1) {

quest::setglobal("CharMaxLevel", "60", "5", "F");
quest::setglobal("luclin", 1, 5, "F");}
}


also tried:

sub EVENT_TASK_COMPLETE {
if($task_id == 319){
quest::setglobal("CharMaxLevel", "60", "5", "F");
quest::setglobal("luclin", 1, 5, "F");}
}


It is saved in my globalplayer.pl