13.09.2010, 01:35
wouldn't it be:
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 Код:
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;
}