Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-29-2006, 03:01 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
player's string problem

Ok, so, im trying to set another player's string to a value, but it wont work.


PHP Code:
with (findPlayer(this.target[1])) client.tradereq playero.id
this.target[1] equals the targets account name, so theres no problem there. What happens with this is that instead of setting the targets client.tradereq, it sets it on the current player.

PHP Code:
with (findPlayer(this.target[1])) player.chat "Trying to set your chat!"
That works perfectly fine, so theres no problem in accessing the player.. Ive had -alot- of player-to-player communication errors on Mythic, stuff that works on other servers wont work on there..

Any ideas about whats wrong?
__________________
Follow my work on social media post-Graal:Updated august 2025.
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 04:42 AM.


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