Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   making serverside (https://forums.graalonline.com/forums/showthread.php?t=23616)

TDK_RC6 02-12-2002 09:57 AM

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??

Falcor 02-12-2002 10:03 AM

no
Serverside comments DONT EXIST......... K? Why do people think they do =_=;

zell12 02-12-2002 10:14 AM

Why does everyone talk about em then? Even Stefan did >.<

TDK_RC6 02-12-2002 10:50 AM

i thought so b/c i seen it in our control npc

nyghtGT 02-12-2002 01:02 PM

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 ...

nyghtGT 02-12-2002 01:06 PM

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;
}




nyghtGT 02-12-2002 01:14 PM

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.


All times are GMT +2. The time now is 09:44 AM.

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