Need help with something very simple....
#1

pawn Код:
new Float:score;
    GetPlayerScore(killerid, score);
    if(score == 1)
    {
        GameTextForPlayer(killerid,"~r~> first blood! <",3000,5);
    }
It should not be very hard to find out what this should be
The version i present isnt working since its incorrect.
Basicly after connecting the first kill should display the gametext.
Im stuck with this, can anyone help me out?
Thanks, regards.
Reply
#2

Yah, score is not a float.
Reply
#3

With float or not, im getting the error by the GetPlayerScore line.
Reply
#4

Maybe it was an idea to show what errors you get?
Reply
#5

Код:
(761) : warning 202: number of arguments does not match definition
761 is the GetPlayerScore line.
Reply
#6

pawn Код:
new score = GetPlayerScore(playerid);
Reply
#7

Quote:
Originally Posted by armyoftwo
Посмотреть сообщение
pawn Код:
new score = GetPlayerScore(playerid);
Looks like its ok, thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)