View Single Post
  #28  
Old 02-05-2004, 09:38 PM
Blue_Dragn Blue_Dragn is offline
Registered User
Join Date: Jul 2003
Posts: 302
Blue_Dragn is on a distinguished road
I didnt understand where in the stuff you could pass variables for attack damage

so from clientside to actionserverxxx i want to pass 5, i did
NPC Code:

...
this.xxx = 5;
...
triggeraction 0,0,actionxxx,#v(this.xxx);


if (actionserverxxx) {
thiso.xxx = strtofloat(#s(clientr.xxx)) - strtofloat(#p(0));
setstring clientr.xxx,#v(thiso.xxx);
}



The Above is a short example of what im trying to get at, but i cant seem to get it to work.
__________________
No longer a Advertisement Goat
Reply With Quote