Error: Unmatched Tilde
#1

Код HTML:
UpdatePlataTD( playerid ) {
    new stringic[ 20 ];
	format( stringic, sizeof( stringic ), "~r~Plata: ~w~%d~g~$", PlayerInfo[ playerid ][ xPlatniRacun ] );
	PlayerTextDrawSetString( playerid, PlataIgraca[ playerid ], stringic );
}
After "xPlatniRacun" update, I got "Error: Unmatched Tilde" error.
I know that I missed ~ somewhere, but I don't know where.
Thanks for help!
Reply
#2

Show your textdraw code or try to increase the string size!
Reply
#3

increase your string size.
Код:
UpdatePlataTD(playerid) 
{
        new stringic[50];
	format(stringic, sizeof(stringic), "~r~Plata: ~w~%d~g~$", PlayerInfo[playerid][xPlatniRacun]);
	PlayerTextDrawSetString(playerid, PlataIgraca[playerid], stringic);
}
Reply
#4

It is working now. Thank you guys.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)