![]() |
on death warp not working
NPC Code: why wont it warp them? |
First off, it seems you have an extra bracket.
}{ function dead() { Second, //#CLIENTSIDE |
Quote:
PHP Code:
PHP Code:
|
on death warp not working
PHP Code:
everything works besides the player.setlevel2 ps and sorry about me nagging you about the scripts im doing major development for my server |
When you open brackets "{"'s you have to close them, and you're still doing GS1.5.
PHP Code:
dead; when it should be dead(); That's the same case for both GS1 and GS2 except that you can pass parameters in GS2. You use one = when you're assigning a value and two ='s when you're making a comparison. You need to use triggerserver, so you can setlevel2 and alter the clientr flag on the server-side. You've already made a thread about this and it's solution is listed in there you just need to do some work to make it work. http://forums.graalonline.com/forums...=triggerserver |
this is new :P
havent learned a new concept in a long time so heres what i got
i tried this but still wont set the level PHP Code:
|
Quote:
|
Do you even read what people write, or can you only see the contents of code and php tags? There's more than enough that's been said to solve your problem.
cbk even posted a complete working script that would work in your situation. |
ok i just followed ckb's guide but im not sure how to make a gun with it
can sombody give me an example? |
|
The point is to make a weapon that specifically handles damage and only damage(along with the projectile functions). Guns will be separate weapons. The point is that everyone will have the damage system, thus everyone will have the script needed to process damage, while everyone will not have the guns.
|
ok how do i set the params in it do i just put setparams(20)
after the shoot? |
setshootparams(x,y,z);
before you use shoot(); |
Quote:
And no, you set it before you shoot. |
...
setshootparams(param, moreparams, lastparam); shoot(blahblah); ... function onActionProjectile(param, moreparams, lastparam) { ... |
| All times are GMT +2. The time now is 06:45 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.