[Ajuda] TextDraw OnPlayerDeath - PLEASE HELP-ME
#1

Pessoal gostaria de fazer isso aqui:


Mas to com problemas, sabem me ajudar? O que ta errado?

//Topo
new Text:matou;

//Em:

public OnGameModeInit()
{
matou = TextDrawCreate(CORD X, CORD Y, CORD Z, "Matou O Player:");
return 1;
}

//Em

public OnPlayerDeath(playerid)
{
new playername[24], killername[24];
GetPlayerName(killerid, killername, sizeof(killername));
new string[128];
format(matou, sizeof(matou), "Voce matou o %s", killername);
TextDrawSetString(matou);
TextDrawShowForPlayer(playerid, matou);
SetTimerEx("TimeUp", 2000, false, "i", playerid); // Some depois de 2 segundos <<<
return 1;
}

forward TimeUp(playerid);
public TimeUp(playerid)
{

TextDrawDestroy(matou); //Destroy the created text draw.
return 1;
}
Reply


Messages In This Thread
TextDraw OnPlayerDeath - PLEASE HELP-ME - by gusgutos661 - 26.12.2013, 10:52
Re: TextDraw OnPlayerDeath - PLEASE HELP-ME - by Tugamars - 26.12.2013, 10:55
Re: TextDraw OnPlayerDeath - PLEASE HELP-ME - by Input - 26.12.2013, 11:17
Re: TextDraw OnPlayerDeath - PLEASE HELP-ME - by CharlieBrown - 26.12.2013, 11:17
Re: TextDraw OnPlayerDeath - PLEASE HELP-ME - by Kyl3 - 26.12.2013, 12:53
Re: TextDraw OnPlayerDeath - PLEASE HELP-ME - by Schocc - 26.12.2013, 13:26
Re: TextDraw OnPlayerDeath - PLEASE HELP-ME - by gusgutos661 - 26.12.2013, 13:28

Forum Jump:


Users browsing this thread: 7 Guest(s)