Graal Forums  

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

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #17  
Old 01-15-2002, 10:15 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
NPC Code:

if (playerchats) {
with (getplayer(#a)) {
setstring client.chatted,#c;
}
}
//#CLIENTSIDE
if (weaponfired) {
say2 testing;
}


If that's a weapon and it doesn't exist in any level it won't ever recieve playerchats, and even if it is in a level, it'll only recieve it when the player is in the same level. Plus, I've heard that with (getplayer(#a)) { doesn't work.
 


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 07:54 AM.


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