Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-02-2009, 09:30 PM
[email protected] jamerson61894@yahoo.com is offline
Banned
Join Date: Jul 2008
Posts: 83
jamerson61894@yahoo.com is an unknown quantity at this point
player.addWeapon("WEAPONNAMEHERE");

Only works serverside so make a case and do a triggerserver.
Reply With Quote
  #2  
Old 08-02-2009, 10:45 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by [email protected] View Post
player.addWeapon("WEAPONNAMEHERE");

Only works serverside so make a case and do a triggerserver.
His whole script is serverside. No point in making it clientside, eh?

Anyway, first off, make sure you got the script you posted somewhere in a level npc, not inside a weapon. Also, make sure that the weapon "Event/Hug" actually exists and has got at least a tiny bit of code which fires when the weapon is added, so you know buying it actually worked. If both apply, everything should work fine. If not, you are probably still doing something wrong. Maybe write a more detailed description for us? Or even provide the code of the weapon, might help. All up to you.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:30 PM.


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