TanguyOrtegat / esx_jb_eden_garage2

41 stars 50 forks source link

Update config #40

Closed boermansjo closed 5 years ago

boermansjo commented 5 years ago

Garage lake was not correct

boermansjo commented 5 years ago

I will changed it. But does it matter ? The type can only be an integer.

TanguyOrtegat commented 5 years ago

I will changed it. But does it matter ? The type can only be an integer.

yes, in fivem docs, it is written it must be double, even if intiger works, best is using double

here is an example of a native : void SET_PED_COORDS_NO_GANG(Ped ped, float posX, float posY, float posZ);

boermansjo commented 5 years ago

It is changed into doubles. I agree that natives uses floats. But the drawmarker is special : void DRAW_MARKER(int type, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float rotX, float rotY, float rotZ, float scaleX, float scaleY, float scaleZ, int red, int green, int blue, int alpha, BOOL bobUpAndDown, BOOL faceCamera, int p19, BOOL rotate, char* textureDict, char* textureName, BOOL drawOnEnts);

TanguyOrtegat commented 5 years ago

oh yea, i oversaw that sorry :) you were correct :) leave it as it is i ll push

boermansjo commented 5 years ago

I changed it already into 1.0 Still learning a lot of new stuff so thanks for pointing stuff out ;)

TanguyOrtegat commented 5 years ago

yea but type should be like you had done lol an int , but yea so what :), yea helping, maing scripts better, you learn more then always asking on fivem