SA-MP Forums Archive
Error : Unmatched Tilde - 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: Error : Unmatched Tilde (/showthread.php?tid=499991)



Error : Unmatched Tilde - Nahin - 10.03.2014

Hi.
I recently came across with this error on a textdraw. (probably after updating my server to 0.3z). The textdraw is all right when I'm on foot, but when I get on a vehicle, instead of the stuff thats supposed to be displayed, "Error : Unmatched Tilde" appears.
Any help would be appreciated.

Код:
format(string, sizeof(string), "~p~Equipment: ~h~%s~n~~p~Cash: ~h~$%s~n~~p~Transport: ~h~%s~n~p~Gas: ~h~%d%%~n~~p~Velocity: ~h~%d KM/H",aWeaponNames[GetPlayerWeapon(i)], number_format(PlayerTemp[i][sm]), GetVehicleName(GetPlayerVehicleID(i)), Gas[GetPlayerVehicleID(i)], floatround(value/600));



AW: Error : Unmatched Tilde - Macronix - 10.03.2014

Here is your error:
~n~p~Gas:

Should be:
~n~~p~Gas:


Re: Error : Unmatched Tilde - PowerPC603 - 10.03.2014

After "transport", you have this:
pawn Код:
~h~%s~n~p~Gas
You're missing a ~.


Re: Error : Unmatched Tilde - Nahin - 10.03.2014

Thanks a lot.
Haven't been into PAWNO for about 6 months so, forgot almost everything.
Testing it now.


Re: Error : Unmatched Tilde - Nahin - 10.03.2014

Works.
Thanks again.