Jump to content

Recommended Posts

  • 2 weeks later...
Posted

On

@rafael how about everytime a group ID 1 kill a monster he will get zeny 100k and if group ID 2 kill a monster get a 500k..

OnNPCKillEvent:
if( getgroupid() == 1 )
set Zeny,Zeny + 100000;
else if( getgroupid() == 2 )
set Zeny,Zeny + 50000;
end;

Posted

@Will

You mean blocking non-VIPs to access a map, or allowing only non-VIPs to access that map?

-	script	block_nonvip	-1,{

OnPCLoadMapEvent:
if (!getgroupid() && strcharinfo(3) == "map_name")
	warp "prontera", 150, 150;
end;
}

map_name	mapflag	loadevent

Replace map_name with the name of the map.

  • 5 weeks later...
  • 3 weeks later...
  • 2 weeks later...
  • 1 month later...
Posted (edited)

Error.... ( Refer to the attached thumbnail )

 

 

P.S - I'm using 3CeaM



@Will
You mean blocking non-VIPs to access a map, or allowing only non-VIPs to access that map?

-	script	block_nonvip	-1,{

OnPCLoadMapEvent:
	if (!getgroupid() && strcharinfo(3) == "map_name")
		warp "prontera", 150, 150;
	end;
}

map_name	mapflag	loadevent
Replace map_name with the name of the map.

post-3034-0-61290600-1361130959_thumb.jpg

Edited by caspa
  • 1 month later...
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...