Text Draw String
#3

wouldn't it be:

pawn Код:
new textdraw4[MAX_PLAYERS];

also you don't have to hide it and show it to make the textdrawsetstring take effect.



Also i would suggest something different so you don't have to make 99999999 Checks.


pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new msg[64];
    new score = GetPlayerScore(killerid);
    SetPlayerScore(killerid, score+1);
    format(msg, sizeof(msg),"XP: %d/50",score+1);
    TextDrawSetString(textdraw4[killerid],msg);
    GivePlayerMoney(killerid, 2000);
    GameTextForPlayer(killerid, "~p~1+ ~w~Experience! ~n~~g~+$2000!!",6000,4);
    return 1;
}
Reply


Messages In This Thread
Text Draw String - by Kitten - 13.09.2010, 01:28
Re: Text Draw String - by Memoryz - 13.09.2010, 01:31
Re: Text Draw String - by CuervO - 13.09.2010, 01:35
Re: Text Draw String - by Kitten - 13.09.2010, 02:07

Forum Jump:


Users browsing this thread: 1 Guest(s)