View Single Post
  #8  
Old 09-08-2010, 07:08 AM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
Quote:
Originally Posted by iSlayer View Post
Hmm where would I put the exp because the baddy uses this.exp
PHP Code:
player.addExp(this.amount); 
or if you don't have the class joined to the player but you have it joined to the npc then do
PHP Code:
addExp(this.amount); 
or if you have it in a different weapon as a public function do
PHP Code:
(@ "Systems/PlayerFunctions").addExp(this.amount); 
Reply With Quote