Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-12-2002, 09:57 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
making serverside

//#SERVERSIDE

will this make the script below serverside??

so if you do this

NPC Code:

//#CLIENTSIDE
if (isweapon) { timeout=.1; }
if (timeout) {
//#SERVERSIDE
setplayerprop #c, #I(server.string,0);
//#CLIENTSIDE
timeout=.1; }


would that work??
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #2  
Old 02-12-2002, 10:03 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
no
Serverside comments DONT EXIST......... K? Why do people think they do =_=;
__________________

subliminal message: 1+1=3
Reply With Quote
  #3  
Old 02-12-2002, 10:14 AM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 has a spectacular aura about
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
Why does everyone talk about em then? Even Stefan did >.<
__________________
Reply With Quote
  #4  
Old 02-12-2002, 10:50 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
i thought so b/c i seen it in our control npc
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #5  
Old 02-12-2002, 01:02 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by zell12
Why does everyone talk about em then? Even Stefan did >.<
everything is serverside unless denoted with a //#CLIENTSIDE to prove it otherwise ...
Reply With Quote
  #6  
Old 02-12-2002, 01:06 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Re: making serverside

Quote:
Originally posted by TDK_RC6
//#SERVERSIDE

will this make the script below serverside??

so if you do this

NPC Code:

//#CLIENTSIDE
if (isweapon) { timeout=.1; }
if (timeout) {
//#SERVERSIDE
setplayerprop #c, #I(server.string,0);
//#CLIENTSIDE
timeout=.1; }


would that work??
NPC Code:

NPC Code:

//#CLIENTSIDE
if (isweapon) {
timeout=1;
}
if (timeout) {
setplayerprop #c, #I(server.string,0);
timeout=1;
}



Reply With Quote
  #7  
Old 02-12-2002, 01:14 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Re: Re: Re: making serverside

Quote:
Originally posted by Kaimetsu


Except of course server.strings aren't available to the clientside.
oops, did not realize it was a server string... my bad.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:08 PM.


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