View Single Post
  #6  
Old 02-14-2003, 07:58 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Warcaptain
cant you do something liek this:

NPC Code:

if (actionserverside){
with (getnpc(dbnpc)) setstring local.data,#s(this.data);
triggeraction playerx+1,playery+1,load,#w;
}
//#CLIENTSIDE
if (weaponfired) triggeraction 0,0,serverside,weapon,;
if (actionload&&strequals(#p(0),#w)) {
this.data=strtofloat(#s(local.data));
setstring local.data,;
}

local strings are clientside ONLY :o
Reply With Quote