Teamscore in Textdraw help?
#1

I am really new to scripting, so sorry for newbie mistakes -

new Text:DMTeam1Score;
new Text:DMTeam2Score;

public OnFilterScriptInit()
{
DMTeam1Score = TextDrawCreate(460.0,100.0,"Team 1 Points - 0");
TextDrawColor(DMTeam1Score, 0xFF0000FF);
DMTeam2Score = TextDrawCreate(460.0,115.0,"Team 2 Points - 0");
TextDrawColor(DMTeam2Score, 0x0000FFFF);
}

public OnPlayerCommandText(playerid, cmdtext[])
{
TextDrawShowForPlayer(playerid, DMTeam1Score);
TextDrawShowForPlayer(playerid, DMTeam2Score);
}

What should i put under OnPlayerDeath to add a point to the "0" in each Textdraw?
Reply


Messages In This Thread
Teamscore in Textdraw help? - by TheAlbert17 - 30.08.2015, 11:43
Re: Teamscore in Textdraw help? - by bensmart469 - 30.08.2015, 13:36

Forum Jump:


Users browsing this thread: 1 Guest(s)