View Single Post
  #1  
Old 01-05-2011, 06:52 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
function onactiondoublemouse problem

hey guys im currently working on a script and i got a fail which i didnt know how to fix. this is pretty easy i guess but i dont have any idea how to fix

PHP Code:
function onactiondoublemouse () {
  
say2 say "/buy hat1" for this hat;

also tried this:
PHP Code:
function onCreated() {
  
this.buycmd "/buy hat1";
}
function 
onactiondoublemouse () {
  
say2 say "this.buycmd" for this hat;


i placed this in a npc which is playing a gani that only shows the hat (too lazy for icon). could that be the problem? because i also tried to put it into a noob npc which hat the same script (just other text):
PHP Code:
function onActionDoubleMouse() {
  
say2 test;

Reply With Quote