Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Addweapon Problem (https://forums.graalonline.com/forums/showthread.php?t=55515)

MegaSizzler 09-26-2004 11:17 PM

Addweapon Problem
 
ok explain this to me. I have the weapon in the weapons list in RC. but when I do this.
//#CLIENTSIDE
if (playertouchsme){addweapon Warprings/Town Center}

is it because it has a slash? x_x :frown: :megaeek:

Tolnaftate2004 09-26-2004 11:23 PM

It has to be serverside.

MegaSizzler 09-26-2004 11:31 PM

Thanks! But the script still doesnt work (the warping part) it cant be client or serverside cause it warps you...WHAT DO I DO!
// NPC made by Giya (Owner)
if (weaponfired){setlevel2 10thnation_a1.nw,29.5,29.5}

Tolnaftate2004 09-26-2004 11:54 PM

if (weaponfired) needs to be clientside, so, put it under //#CLIENTSIDE and use triggeraction to trigger the setlevel2.


All times are GMT +2. The time now is 05:22 AM.

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