PivityGmodStore

L² License Plates

(16)(233)

You can always read the reviews or discuss this product

nirvanamonkeyPurchasedposted

Hey if I purchase this, if a person purchases a car in WCD (Williams car dealer) and relogs... will the plate be the same? Thanks!

TapirPurchasedposted

Hello, is there any way that CP teams can know hou owns the vehicle by the license plate?

LPN64posted

Performance update when !!!!!!!!!11111

Doctor InternetAuthorPurchasedModeratorposted

nerzlakai96thanks for your input, myself and LPN had a discussion in PMs yesterday where they explained themselves more.


I can't use ents.FindByClass directly as I need multiple classes of entities. Not all vehicles have the prop_vehicle_jeep class. You really should know that as a developer.

I could iterate over a class list, call findbyclass and use those entities. Except that has a more than double performance impact compared to using getall and isvehicle.

nerzlakai96posted

I think LPN64 means that you should use

"for k,v in pairs(ents.FindByClass("prop_vehicle_jeep")) do end"

instead of

"for k,v in pairs(ents.GetAll()) do end"

because this functions is very resource-hungry which you should know as a developer

Doctor InternetAuthorPurchasedModeratorposted

You'll have to clarify what "this" is.

Calling ents.GetAll() in a render hook? No, because there's no other hook function available to render per entity.

LPN64posted

Did the last update fix this ?


Function : ents.GetAll (Wiki page : https://wiki.garrysmod.com/page/ents/GetAll )

Hook : GM:PostDrawTranslucentRenderables (Wiki page : https://wiki.garrysmod.com/page/GM/PostDrawTranslucentRenderables )

File : addons/l2-plates/lua/ll_plates/cl_init.lua

└►Line #85-> 16641 calls

Call History

#1 File:addons/l2-plates/lua/ll_plates/cl_init.lua, Line #145

#2 File:addons/l2-plates/lua/ll_plates/cl_init.lua, Line #85

Mika32Purchasedposted

How can we have plate without summer, winter etc etc ?

OwainPurchasedposted

For the sake of my notifications, please stockpile your updates and push them as less frequent bigger ones apposed to 3-4 back to back ones... It's becoming a bit of a piss take

✨ Julian.F ✨Purchasedposted

Hello,

how to put 9 character in the plate ?

Thanks,

Doctor InternetAuthorPurchasedModeratorposted

Should do, no reason for it not to.

Doctor InternetAuthorPurchasedModeratorposted

There's nothing built into the addon to do that at the moment, but the data is there and can be used to do that.

RadioactvePixelsPurchasedposted

I run a policerp server, is it possible to have police run plates and find out the owner of a vehicle?

Doctor InternetAuthorPurchasedModeratorposted

In that case, probably not. You could do direct SQL queries.

Cman3144Purchasedposted

I have checked around in the developer functions documentation, but I can't find anything that actually doesn't what I want.

Doctor InternetAuthorPurchasedModeratorposted

Top of my head I'm not sure, check the /docs folder for dev/function documentation.

Cman3144Purchasedposted

Is there some sort of function you can call to lookup the information from a plate number? Such as vehicle name and owner.

Doctor InternetAuthorPurchasedModeratorposted

It's not directly integrated, though it might be possible in the future.

Destinygamer05posted

I was just wondering if this works with AGC,DLS or in the forcible future.

Hudsonposted

Please add MySQL support as it would be useful to use the information for other addons.

Mika32Purchasedposted

Hello, can we have normal licence plate ? I don't like with snow

Showing 24 of 127 total results