![]() |
putleaps function?
PHP Code:
|
can't call it oncreated, make it a function etc
PHP Code:
|
It's just an example, the actual code is in a onTimeout().
My mistake. I'll edit that in first post. PHP Code:
|
Are you on a gmap..?
|
hmm use a public function....
weapon name: MYWEAPONTESTLOL/HI HTML Code:
function onTimeout() { HTML Code:
public function drawLeap(type, position) {inside the weapon 'MYWEAPONTESTLOL/HI' also add [normally on the onCreated function] HTML Code:
leapcontrol = this;HTML Code:
leapcontrol.drawLeap(type, {x, y}); |
If you want it to appear for all players instead of just you, something like this:
PHP Code:
|
Doesn't show the leaps.
Weapon: Board PHP Code:
NPC Code://#CLIENTSIDE |
Try this:
PHP Code:
Also, try making sure all your functions are even being called with an echo(). |
It says this: Function leapcontrol.drawLeap not found in script of Weapon Board
and says this when i use findweapon: Function Weapon -System/LeapControl.drawLeap not found in script of Weapon Board |
is 'Board' clientside?
|
thx.. made it serverside..
BUT PHP Code:
echo appears though.. |
is _type allowed? Try changing that variable name.
|
It only shows on my screen now.
BTW: it wouldnt show up my screen if _type wasnt allowed PHP Code:
|
Quote:
|
Seems excessive for just some leaps. I'd say if you can't get it working clientside, perhaps think about creating your own leap gani and showing it with an index under 200.
|
That script won't work for me.. forget it too much trouble. thanks guys
|
Quote:
Be sure to leave reputation for the ones who help you :) |
i agree with Dusty, don't do the players loop use a gani instead
|
Quote:
PHP Code:
|
Quote:
PHP Code:
|
Quote:
Unless it's changed since last I tried. |
| All times are GMT +2. The time now is 07:16 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.