Textdraw prize
#6

PHP код:
new PlayerText:KillerTextdraw[MAX_PLAYERS];
forward HideKillerTextdraw(playerid);
public 
OnPlayerConnect(playerid)
{
    
KillerTextdraw[playerid] = CreatePlayerTextDraw(playerid320.0240.0"+1000$ and 1 Score");
    return 
1;
}
public 
HideKillerTextdraw(playerid)
{
    
PlayerTextDrawHide(playeridKillerTextdraw[playerid]);
    return 
0;
}
public 
OnPlayerDeath(playeridkilleridreason)
{
    
PlayerTextDrawShow(killeridKillerTextdraw[killerid]);
    
SetTimerEx("HideKillerTextdraw"30000"i"killerid);
    return 
1;

//edit
i dont f#cking know why am i using player textdraw.. lol.
Use a standard textdraw.
Reply


Messages In This Thread
Textdraw prize - by Hunud - 19.07.2016, 17:40
Re: Textdraw prize - by GangstaSunny - 19.07.2016, 17:42
Re: Textdraw prize - by Hunud - 19.07.2016, 17:44
Re: Textdraw prize - by OKStyle - 19.07.2016, 17:44
Re: Textdraw prize - by Hunud - 19.07.2016, 17:46
Re: Textdraw prize - by GangstaSunny - 19.07.2016, 17:48
Re: Textdraw prize - by Logic_ - 19.07.2016, 18:38

Forum Jump:


Users browsing this thread: 2 Guest(s)