Graal Forums

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

Ngoc999 11-18-2008 04:04 PM

Punch
 
i scripted a weapon (Punch) To Punch But It Wont Work I Only Use Sword..
What I Did Is

I Gani The Punch I Uploaded It.
Then Ill Scripted It But If I Press Apply In Weapon Script (Punch)
He Punch But He Wont Punch In Game

Help Me Please

Ngoc999 11-18-2008 04:53 PM

??

Codein 11-18-2008 04:54 PM

Did you give yourself the weapon?

Soala 11-18-2008 05:26 PM

Showing us the script would be best if you want help.
I didn't even understand a single word.

Ngoc999 11-18-2008 05:48 PM

Pez helped me with the gani thats why the gani named pez

Script:
//#CLIENTSIDE
function onCreated() {
setani("pez-punch", null);
}

Soala 11-18-2008 06:05 PM

You could first define something with a key, as exemple:
PHP Code:

function onKeyPressed(keycode,key)
{
 if (
key == "s" || keycode == 32

etc...

If you make it like it set the gani only when you create the script, then it will never work.

And remember, the forums are not here to CREATE your scripts.
You must hire a scripter for this.

Deas_Voice 11-18-2008 06:41 PM

oh pez........
LOL pez......
i bet pez was thinking of replaceani("newani","oldani");
xD

Dan 11-18-2008 06:45 PM

Quote:

Originally Posted by Deas_Voice (Post 1443204)
oh pez........
LOL pez......
i bet pez was thinking of replaceani("newani","oldani");
xD

Lol @ you trying to say someone is wrong.
It's replaceani(oldani,newani), not the other way around.

Deas_Voice 11-18-2008 06:47 PM

Quote:

Originally Posted by Dan (Post 1443207)
Lol @ you trying to say someone is wrong.
It's replaceani(oldani,newani), not the other way around.

my mistake.

btw i know pez cant script.

Soala 11-18-2008 06:49 PM

I guess he just wanted to make a punch system ?
He could use replaceani(sword,pez-punch); for sure that's the same lol

Codein 11-18-2008 08:21 PM

Quote:

Originally Posted by Deas_Voice (Post 1443209)
btw i know pez cant script.

This isn't about Pez's scripting. It never was, either.

Deas_Voice 11-18-2008 10:05 PM

Quote:

Originally Posted by Codein (Post 1443231)
This isn't about Pez's scripting. It never was, either.

it isen't?

Ngoc999 11-19-2008 07:05 PM

....??? i still dunno how x_X

Pelikano 11-22-2008 09:31 PM

They told you already.
Hire a NAT.

Switch 11-30-2008 05:53 AM

Quote:

Originally Posted by Dan (Post 1443207)
Lol @ you trying to say someone is wrong.
It's replaceani(oldani,newani), not the other way around.

Deas got owned at his own game.
Quote:

Originally Posted by Ngoc999 (Post 1443192)
Pez helped me with the gani thats why the gani named pez

L0L PEZ 1$ 1337 UB3RN3$$!
Hire a scripter, better help ;)
And also speaking proper english helps a lot, tanc u vry mush.


All times are GMT +2. The time now is 10:38 AM.

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