MoneyTextdraw
#5

First, How is this forwarded like this? Where it is getting the playerid? Delete it you are using global timer not player timer
Код:
 public MoneyUpdater(playerid)
{
	for(new i; i<MAX_PLAYERS; i++)
	{
		new string[128];
		format(string,sizeof(string),"%.2f", Peniaze[i]);
		PlayerTextDrawSetString(i,TDEditor_PTD[i][1],string);
	}
}
Second, Show the codes of the command you are using to give money.

Also make sure you have restarted the server correctly (rcon exit) then open and connect to it after you fixed the textdraws so they are created correctly when the player connect.

EDIT: And another flaw, Move the timer to OnGameModeInit
Reply


Messages In This Thread
MoneyTextdraw - by IchNar - 17.07.2017, 18:27
Re: MoneyTextdraw - by IchNar - 17.07.2017, 18:48
Re: MoneyTextdraw - by FailerZ - 17.07.2017, 18:49
Re: MoneyTextdraw - by IchNar - 17.07.2017, 19:03
Re: MoneyTextdraw - by FailerZ - 17.07.2017, 19:14
Re: MoneyTextdraw - by Kane - 17.07.2017, 20:52
Re: MoneyTextdraw - by Pottus - 17.07.2017, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)