SA-MP Forums Archive
Plate - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Plate (/showthread.php?tid=538252)



Plate - Shazwan - 20.09.2014

I need some help idk what bug is it i already put space or something but it didnt work.

this is the example.

Код:
format(var, 32, "pv%dNumPlate=%s\n", v, PlayerVehicleInfo[playerid][v][pvNumberPlate]);fwrite(hFile, var);
evidence.

but it some how turn out to be this.


Код HTML:
http://postimg.org/image/jzzs9h8el/



Re: Plate - Stinged - 20.09.2014

The text i just too long for a small number plate. (logic)


Re: Plate - Shazwan - 20.09.2014

umm wait i try 4 letters.


Re: Plate - Shazwan - 20.09.2014

I already try 4 letter "test"

but it show this same problem.

Код HTML:
http://postimg.org/image/tb8nvc02f/



Re: Plate - Stinged - 20.09.2014

It's not only 4 characters.
Remove the string behind it, NumPlate or whatever..


Re: Plate - Shazwan - 20.09.2014

Umm is there another that can undetect the

"pv%dNumPlate=%s\n"


Re: Plate - Shazwan - 20.09.2014

this is i got from

Код:
public OnPlayerStatsUpdate(playerid)

format(var, 32, "pv%dImpound=%d\n", v, PlayerVehicleInfo[playerid][v][pvImpounded]);fwrite(hFile, var);

public OnPlayerOfflineSave(playername[])

format(var, 32, "pv%dImpound=%d\n", v, PlayerVehicleInfo[playerid][v][pvImpounded]);fwrite(hFile, var);