Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetVehicleNumberPlate #45

Closed
ronixtey opened this issue Jan 2, 2017 · 4 comments
Closed

GetVehicleNumberPlate #45

ronixtey opened this issue Jan 2, 2017 · 4 comments

Comments

@ronixtey
Copy link

ronixtey commented Jan 2, 2017

i get number plate like this:

new plate[16]
GetGehicleNumberPlate(vehicleid, plate);

but it shows me incorrect hieroglyphs
bandicam 2017-01-02 16-49-13-264

@Crayder
Copy link

Crayder commented Jan 2, 2017

Two things:

  • IIRC you need to use SetVehicleNumberPlate for GetVehicleNumberPlate to work.
  • That string looks like you might've did something like this (which fails in all C languages except C#):

new firstString[16], otherString[128] = "some random stuff that doesn't fit it 'firstString'";

For some reason that puts a bunch of crap in firstString.

@ghost
Copy link

ghost commented Jan 2, 2017

Now i dont have pc so i cant test iz because im moving. Try the output with ysf examples, im curious what it will be.

Getting works without setting, it will return the default plate.

@Crayder
Copy link

Crayder commented Jan 2, 2017

Getting works without setting, it will return the default plate.

Oh yeah! Now I remember you fixing that, in #38.

@ghost
Copy link

ghost commented Jan 4, 2017

Fixed

@ghost ghost closed this as completed Jan 4, 2017
@djacicd djacicd mentioned this issue Nov 21, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants