CocaColaBear / types-ragemp-c

Rage:MP TypeScript type definition for Client-side
https://rage.mp/
MIT License
53 stars 60 forks source link

getLightsState using wrong parameters #28

Closed ripkens closed 3 years ago

ripkens commented 5 years ago

https://github.com/CocaColaBear/types-ragemp-c/blob/ad7faf027cb1b92ce535ad593b517811aaf37c1e/index.d.ts#L1123

Correct code: getLightsState(lightsOn: boolean, highbeamsOn: boolean): { lightsOn: number; highbeamsOn: number; };

pixlcrashr commented 4 years ago

Was this tested ingame yet?

ripkens commented 4 years ago

Yes, about a year ago ..... may not be valid anymore

pixlcrashr commented 4 years ago

@ripkens Would you like to check it?

ripkens commented 4 years ago

No, i am not developing in RageMP anymore, switched to altV long time ago

ynhhoJ commented 3 years ago

Fixed in https://github.com/CocaColaBear/types-ragemp-c/pull/73