Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-17-2011, 04:12 AM
Twaina Twaina is offline
Registered User
Join Date: Dec 2010
Posts: 59
Twaina has a little shameless behaviour in the past
Red face Get a message

So I made a script that works but I need to change something and do not come on please help me;! (

Quote:
PHP Code:
function onPlayerChats()
  {
  if (
player.chat != "/prhelp");
  if (
hasweapon(PrHelp)){
    
say2("You send a message!");
    {
      return;
    }
    
sendtorc("People need PR help!");
      if (
hasweapon(PrTag)){

        
say2("People need PR help!");
      }
    }
  } 
Just as I do that so if the players chat / prhelp
The ones with the Weapon PrTag get a say2 message where stand as a Text"People need help!"
Please help : (Thanks
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.