Elsa
New member
Hello Hercules.
im trying to put this script on my event script but its give an error undeclare function
script:
OnInit: // 1.5% chance getting gold coin , else get random money of 100,1000,10000,100000,1000000 setitemscript 668, "{ if ( rand(1000) < 15 ) getitem 5374, 1; getitem 30002, 50; 30001, 30; else zeny = zeny + callfunc( "F_RandMes", 5, 100, 1000, 10000, 100000, 1000000 ); }"; end;
How to make the script works? its for random item and zeny.
Thanks in advance
im trying to put this script on my event script but its give an error undeclare function
script:
OnInit: // 1.5% chance getting gold coin , else get random money of 100,1000,10000,100000,1000000 setitemscript 668, "{ if ( rand(1000) < 15 ) getitem 5374, 1; getitem 30002, 50; 30001, 30; else zeny = zeny + callfunc( "F_RandMes", 5, 100, 1000, 10000, 100000, 1000000 ); }"; end;
How to make the script works? its for random item and zeny.
Thanks in advance
Last edited by a moderator: