Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Help] Editing item to make it give zen when use

Newbie Spellweaver
Joined
Nov 1, 2012
Messages
7
Reaction score
0
i'm trying to edit some item that when use it will give a zen instead of coins or salary like this.

Code:
	function OnUseItem(){
			
		//ษพณฯ๛บฤฮ๏ฦท
		$result = SubPlayerInfo( -1, "item", 43266 , 1 )
		if $result == 0
			AddPlayerInfo( -1, "givepoint", 500  )
		endif
	}
I've tried to change from "givepoint" to another like gold, goldpoint, cash, zen... but it doesn't work at all. When i try to use item after change it nothing happened at all (The item didn't gone like i can't use it).

Have any1 tried like me ?? Is it possible to do it? Thanks.
*Sorry for my English.
 
Back
Top