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
  #19  
Old 06-09-2002, 11:11 AM
kittygirl765 kittygirl765 is offline
tapatapatapa
kittygirl765's Avatar
Join Date: Dec 2001
Location: Caught in a tree
Posts: 70
kittygirl765 is on a distinguished road
Send a message via ICQ to kittygirl765
Hiiii, I need help again with a method. Liek, what is the easiest way to transfer mass data in a this. string stored server side, to the client side (the way i want to make it is so that the client side part needs to request it from an event from the player, liek a keypress or chat)?

Liek, this is a way i did it, but its messy, and i don't want to use the client.strings:

if(actionwantstring) {
setstring client.npcpass,this.something1;
}
//#CLIENTSIDE
if(playerenters) {
timeout=0.1;
}
if(playerchats) {
triggeraction x,y,wantstring,;
}
if(timeout) {
message #s(client.npcpass);
timeout=0.1;
}
__________________
I <3 UN
I <3 Shadow Strip Entertainment City Shangri-La
I <3 gscript2
 


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 08:20 AM.


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