ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2266

Help

by shandor96 - 09-19-2018 - 07:55 AM
#1
I have a trouble with DRAW_MARKER
Every time I get a error when want to use the marker, looks something like this "failed to find new hash 0x000000etc"
But I not use the native from consoles
Mine native looks like this:
static 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) { invoke<Void>(0x28477EC23D892089, type, posX, posY, posZ, dirX, dirY, dirZ, rotX, rotY, rotZ, scaleX, scaleY, scaleZ, red, green, blue, alpha, bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts); } // 0x28477EC23D892089 0x48D84A02
but every time I get a error with get hash key
what problem?
I use GET_PLAYER_PED_SCRIPT_INDEX not GET_PLAYER_PED

Is it because I need signatures GET_PLAYER_PED?
Reply
#2
static 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) { invoke<Void>(0x28477EC23D892089, type, posX, posY, posZ, dirX, dirY, dirZ, rotX, rotY, rotZ, scaleX, scaleY, scaleZ, red, green, blue, alpha, bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts); } // 0x28477EC23D892089 0x48D84A02 also check your crossmaps

also you need to sig the get player ped and define the selected one
Reply
#3
ehh I not have it..
Reply
#4
Sounds like an issue with your crossmap
Reply
#5
hmm
probably, I'll still not updated it fully
Reply

Users browsing: 3 Guest(s)