Quick question
#1

Never got this before but how come I get this warning when this little line?

Код:
number of arguments does not match definition
pawn Код:
if(GetPlayerHealth(playerid) >= 1)
Reply
#2

pawn Код:
if(GetPlayerHealth(playerid) >= 1.0)
Float Float Float!!
Reply
#3

ok sooo now its

Код:
error 001: expected token: ";", but found "-identifier-"
pawn Код:
new Float:Health
    Health = GetPlayerHealth(playerid, Health);
    if(Health >= 1.0)
    {
Reply
#4

http://pastebin.com/cqGPBner
Reply
#5

lol

Код:
error 001: expected token: ";", but found "-identifier-"
pawn Код:
GetPlayerHealth(playerid, Health);
Reply
#6

fixed code.

new Float:Health;
Health = GetPlayerHealth(playerid, Health);
if(Health >= 1.0)
{
Reply
#7

read at the errors next time, u missing a ';',

new Float:Health;

BAHHH:

1. This forum requires that you wait 120 seconds between posts. Please try again in 39 seconds.
Reply
#8

lol wow i fail
Reply
#9

Quote:
Originally Posted by willsuckformoney
Посмотреть сообщение
lol wow i fail
aint dat da truth...
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)