Forum

> > Trash > CODE - no work!!?
ForenübersichtTrash-ÜbersichtEinloggen, um zu antworten

Englisch CODE - no work!!?

14 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

geschlossen verschoben CODE - no work!!?

AzeKs8
BANNED Off Offline

Zitieren
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!

alt Re: CODE - no work!!?

Masea
Super User Off Offline

Zitieren
user Yates hat geschrieben
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?

alt Re: CODE - no work!!?

Pehlivan
User Off Offline

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

(no sarcasm intended. srs)

alt Re: CODE - no work!!?

Zeik
User Off Offline

Zitieren
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.
2× editiert, zuletzt 13.03.17 00:01:55

alt Re: CODE - no work!!?

VADemon
User Off Offline

Zitieren
@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.

alt Re: CODE - no work!!?

Zeik
User Off Offline

Zitieren
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.

alt Re: CODE - no work!!?

Pehlivan
User Off Offline

Zitieren
user Zeik hat geschrieben
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

alt Re: CODE - no work!!?

DemHax
User Off Offline

Zitieren
@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.

alt Re: CODE - no work!!?

Yates
Reviewer Off Offline

Zitieren
user DemHax hat geschrieben
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?
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenTrash-ÜbersichtForenübersicht