Graal Forums

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

falco10291029 06-18-2004 11:08 PM

setlevel2
 
Why doesnt setlevel2 work right?

//#CLIENTSIDE
if (weaponfired) setlevel2 neutral-kingdom_c-3.nw,30,30;


thats an example of a warpring (i excluded the gani and freezeplayer for its not needed)

how come it dont work?

calum 06-18-2004 11:36 PM

setlevel2 is serverside i think...so if im right you will probably have to use triggeraction and getplayer

falco10291029 06-18-2004 11:57 PM

ok ill try that

Xecutor 06-19-2004 12:25 AM

Quote:

Originally Posted by calum
setlevel2 is serverside i think...so if im right you will probably have to use triggeraction and getplayer

It is serversided and you don't need to use getplayer because it is already attached to the player.

falco10291029 06-19-2004 01:38 AM

ok so basically just
if (actionserverside) setlevel2 otherstuff
////clientwhatever *lol*
if (weaponfired) triggeraction command

xManiamaNx 06-19-2004 01:55 AM

setlevel2 is serverside only.

falco10291029 06-19-2004 02:02 AM

well duh!!!


All times are GMT +2. The time now is 08:19 PM.

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