TextDrawHideForPlayer after 2 seconds
#10

Quote:
Originally Posted by maramizo
Посмотреть сообщение
No problemo!
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid)
{
    new str[40];
    format(str, 40, "%i", strval(GetPVarString(playerid, "dmg")) + damagedid);
    SetPVarString(playerid, "dmg", str);
    TextDrawSetString(Textdraw0, str);
    TextDrawShowForPlayer(playerid, Textdraw0);
    SetTimerEx("hideplayertd", 2000, 0, "i", playerid)
    return 1;
}

forward hideplayertd(p);
public hideplayertd(p)
{
        TextDrawHideForPlayer(p, Textdraw0);
        return 1;
}
I get two warnings and a error.

Код:
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
error 035: argument type mismatch (argument 1)
Why is it? :\
Reply


Messages In This Thread
TextDrawHideForPlayer after 2 seconds - by Captain_Mani - 14.12.2012, 12:01
Re: TextDrawHideForPlayer after 2 seconds - by Captain_Mani - 14.12.2012, 14:33
Re: TextDrawHideForPlayer after 2 seconds - by Threshold - 14.12.2012, 14:39
Re: TextDrawHideForPlayer after 2 seconds - by Threshold - 14.12.2012, 14:46
Re: TextDrawHideForPlayer after 2 seconds - by maramizo - 14.12.2012, 14:51
Re: TextDrawHideForPlayer after 2 seconds - by Captain_Mani - 14.12.2012, 15:08
Re: TextDrawHideForPlayer after 2 seconds - by maramizo - 14.12.2012, 15:25
Re: TextDrawHideForPlayer after 2 seconds - by Captain_Mani - 15.12.2012, 09:30
Re: TextDrawHideForPlayer after 2 seconds - by maramizo - 15.12.2012, 21:34
Re: TextDrawHideForPlayer after 2 seconds - by Captain_Mani - 16.12.2012, 01:20

Forum Jump:


Users browsing this thread: 1 Guest(s)