SA-MP Forums Archive
Plate Problem - 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 Problem (/showthread.php?tid=401224)



Plate Problem - MMickey - 22.12.2012

Hy, i made a plate system with "/v plate <plate> " when i'm on and, i set the plate, on a vehicle, it set's me, e.g: "LS-99-WTF" but when i restart my server or i close and open it, it show me something like:




actually, my name on the server is "Mickey" strangely, it seems the plate, is my nick,
i have here at, /v buy command:

Код:
CarInfo[car][cPlate] = strlen("");
and

Код:
strmid(CarInfo[car][cPlate], "Dealership", 0, strlen("Dealership"), 999);
in the file that save my cars, show a number.. e.g: "Plate=76"
and if the car doesn't have a plate it show "Plate=10" I think is a problem at <strlen> but i don't know with what fill in,


and a problem at Clock's Textdraw, i think the clock is good, showin the hour:minuteeconds, but the textdraw, remais behind..e.g: Now i enter on the server, the clock show good, but after some 5-6 hours, it show me with 1-1:30 hours behind and as i stay much on my server, the clock, remains more behind..
if you tell me what i give you here, i do...



Re: Plate Problem - MMickey - 22.12.2012

Thank you, i solved the part with "plate"..you have any idea with the textdraws..?