GRAPHICS
DRAW_SPRITE
0xE7FFAE5EBF23D890
Jenkins: 0x1FEC16B0
Signature
// GRAPHICS
void DRAW_SPRITE(const char* textureDict, const char* textureName, float screenX, float screenY, float width, float height, float heading, int red, int green, int blue, int alpha, BOOL p11, Any p12)
Parameters
| Type | Name |
|---|---|
| const char* | textureDict |
| const char* | textureName |
| float | screenX |
| float | screenY |
| float | width |
| float | height |
| float | heading |
| int | red |
| int | green |
| int | blue |
| int | alpha |
| BOOL | p11 |
| Any | p12 |
Return type void
Build 323
Documentation
Draws a 2D sprite on the screen. Parameters: textureDict - Name of texture dictionary to load texture from (e.g. "CommonMenu", "MPWeaponsCommon", etc.) textureName - Name of texture to load from texture dictionary (e.g. "last_team_standing_icon", "tennis_icon", etc.) screenX/Y - Screen offset (0.5 = center) scaleX/Y - Texture scaling. Negative values can be used to flip the texture on that axis. (0.5 = half) heading - Texture rotation in degrees (default = 0.0) positive is clockwise, measured in degrees red,green,blue - Sprite color (default = 255/255/255) alpha - opacity level
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.