View Single Post
  #5  
Old 09-09-2005, 09:44 AM
Silent Silent is offline
<3
Silent's Avatar
Join Date: Mar 2005
Location: England
Posts: 132
Silent is on a distinguished road
Send a message via AIM to Silent Send a message via MSN to Silent
Quote:
Originally Posted by ForgottenLegacy
Hmm, okay then. Are you doing this inside of a NPCw? Because, for what I know, NPCws cannot read onCreated() serverside.
Re-read the first post, please . It's a class joined to the player, and the function is called very simply from a weapon:
PHP Code:
function onActionserverside() {
  if (
params[0] == "test"player.example_run();
}

//#CLIENTSIDE

if (weaponfired) {
  
triggeraction x,y,serverside,Silent/Example,test;

__________________
Quote:
Originally Posted by MilkyWay0016
The Bible also says things like...

"Stone disobedient children" (Deuteronomy 21:18-21)
Quote:
Originally Posted by Loriel
Disobedient children are likely enough to get stoned already, I think.
Reply With Quote