Mob not auto respawn

mrlongshen

Noobies
Messages
1,126
Points
0
Age
36
Location
localhost 127.0.0.1
Emulator
prontera,164,171,4 script Gold Room 10005,{ mes "Do you want to enter Gold Room ?"; mes "This gold room is sponsor by Maybank2u"; menu "Ok",-,"No thanks.",L_No; warp "sakura.gat",0,0; close;OnInit: waitingroom "[ Gold Room ]",0;end;L_No:close;}- script GoldRoom -1,{OnInit: monster "sakura",0,0,"Gold Resident 1",3113,30,"GoldRoom::OnMobKilled"; monster "sakura",0,0,"Gold Resident 2",3142,30,"GoldRoom::OnMobKilled"; monster "sakura",0,0,"Gold Resident 3",3119,30,"GoldRoom::OnMobKilled"; monster "sakura",0,0,"Gold Resident 4",3133,30,"GoldRoom::OnMobKilled"; monster "sakura",0,0,"Gold Resident 5",3122,30,"GoldRoom::OnMobKilled"; end;OnMobKilled: set $@ran, rand(1,3); if ($@ran == 1) getitem 969,1; if ($@ran == 2) getitem 969,2; if ($@ran == 3) getitem 969,5; }
can someone take look on this script, why its not automatic respawn the mobs after kill the mobs ?

 
prontera,164,171,4 script Gold Room 10005,{ mes "Do you want to enter Gold Room ?"; mes "This gold room is sponsor by Maybank2u"; menu "Ok",-,"No thanks.",L_No; close2; warp "sakura.gat",0,0; end;OnInit: waitingroom "[ Gold Room ]",0; end; L_No: close; OnMobKilled: set @ran, rand(1,3); if (@ran == 1) getitem 969,1; else if (@ran == 2) getitem 969,2; else getitem 969,5; end;}sakura,0,0,0,0 monster Gold Resident 1 3113,30,0,0,"Gold Room::OnMobKilled"sakura,0,0,0,0 monster Gold Resident 2 3142,30,0,0,"Gold Room::OnMobKilled"sakura,0,0,0,0 monster Gold Resident 3 3119,30,0,0,"Gold Room::OnMobKilled"sakura,0,0,0,0 monster Gold Resident 4 3133,30,0,0,"Gold Room::OnMobKilled"sakura,0,0,0,0 monster Gold Resident 5 3122,30,0,0,"Gold Room::OnMobKilled"
Here you go.

 
thx bro. now its working
default_smile.png


 
Back
Top