View Single Post
  #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