Forum

> > Trash > CODE - no work!!?
Forums overviewTrash overviewLog in to reply

English CODE - no work!!?

14 replies
To the start Previous 1 Next To the start

closed moved CODE - no work!!?

AzeKs8
BANNED Off Offline

Quote
hi all

me azeks and i want knau whai this code not work!

i want full hp when shot but i no full hp

1
2
3
4
functon shot()
if do shoot == enemy hurt then
make player == full.hp
end

I TRY EVERY!

old Re: CODE - no work!!?

Yates
Reviewer Off Offline

Quote
I just tested the code and it works perfectly. Maybe a little too perfect.

old Re: CODE - no work!!?

Masea
Super User Off Offline

Quote
user Yates has written
I just tested the code and it works perfectly. Maybe a little too perfect.
Same here.

What is the actual problem you're getting sir?

old Re: CODE - no work!!?

AzeKs8
BANNED Off Offline

Quote
pls tell i have prolbem

I need hook add? so shot function is on
how can i hook?

old Re: CODE - no work!!?

Pehlivan
User Off Offline

Quote
I dont know, why this piece of pure masterwork doesnt work. check it again. this code should work 1000% perfectly.

(no sarcasm intended. srs)

old Re: CODE - no work!!?

Zeik
User Off Offline

Quote
Your code doesn't work because is not even a properly written pseudocode. What you're trying to do doesn't even make sense neither, but I did it because is too simple and maybe you realize that it doesn't make sense:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-- alternative 1: hits do 0 damage.
adhook('hit', 'hit')
function hit(id)
  return 1
end

-- alternative 2: you lose health and quickly recover it.
adhook('hit', 'hit')
function hit(id, sc, wp, hp)
  timer(200, 'heal', 'sethealth '..tostring(id)..' '..tostring(player(id, 'health') + hp))
  return 0
end

function heal(arg)
  parse(arg)    
end

Btw, I find it weird that no one here is getting banned for making fun of someone else when you get banned for anything in this forum.
edited 2×, last 13.03.17 12:01:55 am

old Re: CODE - no work!!?

VADemon
User Off Offline

Quote
@user Zeik: This should have gone as a PM but /thread. Because you have earned yourself a giant medal

You did not understand it after 4 clearly sarcastic replies and especially "I TRY EVERY! "
At least you tried to be nice

Again: He was a troll.

old Re: CODE - no work!!?

Zeik
User Off Offline

Quote
Most people write bad English here so I don't see how that is a hint of it being sarcasm. Sarcastic replies don't mean the OP was being sarcastic neither.

old Re: CODE - no work!!?

Pehlivan
User Off Offline

Quote
user Zeik has written
Most people write bad English here so I don't see how that is a hint of it being sarcasm. Sarcastic replies don't mean the OP was being sarcastic neither.


its because the op is a goddamn troll. look at his other questions. so we obviously make fun of him

old Re: CODE - no work!!?

DemHax
User Off Offline

Quote
@user Pehlivan: so because he is a troll we have the right to make fun out of him albeit it is forbidden for everyone no exeptions?

Srsly, dont do to others what you wouldnt want them to do to you.

old Re: CODE - no work!!?

Yates
Reviewer Off Offline

Quote
user DemHax has written
Srsly, dont do to others what you wouldnt want them to do to you.

Isn't that what we were doing? Not sure you understand the definition of trolling.

Whatever, the guy is banned anyway. When will this be closed?
To the start Previous 1 Next To the start
Log in to replyTrash overviewForums overview