SA-MP Forums Archive
Inputtext - 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: Inputtext (/showthread.php?tid=612493)



Inputtext - GoldenLion - 18.07.2016

Hi, I've just fixed the "View Vehicle" thing in MDC in my script, it seems to work, but the problem is it says "License Plate: OE" for every license plate I scan (inputtext).
Here's the code:
Код:
removed, i don't want to release it :P
What's wrong with it?


Re: Inputtext - Misiur - 18.07.2016

pawn Код:
forward OnVehicleLookup(extraid, carid, plate);
public OnVehicleLookup(extraid, carid, plate)
You need to specify that you accept a string

pawn Код:
forward OnVehicleLookup(extraid, carid, plate[]);
public OnVehicleLookup(extraid, carid, plate[])



Re: Inputtext - GoldenLion - 18.07.2016

Thank you.