Skip to content

Instantly share code, notes, and snippets.

@RogueDrifter
Created August 31, 2018 04:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RogueDrifter/a931de594bd47daaa9b56452d2a77317 to your computer and use it in GitHub Desktop.
Save RogueDrifter/a931de594bd47daaa9b56452d2a77317 to your computer and use it in GitHub Desktop.
//Custom skin support Include RogueDrifter 2018-1-13
#include <a_samp>
GetPlayerSkinEx(playerid)
return (GetPlayerCustomSkin(playerid) <= 0) ? GetPlayerSkin(playerid) : GetPlayerCustomSkin(playerid);
#if defined _ALS_GetPlayerSkin
#undef GetPlayerSkin
#else
#define _ALS_GetPlayerSkin
#endif
#define GetPlayerSkin GetPlayerSkinEx
@chainzw
Copy link

chainzw commented Feb 2, 2023

hey.
I'm trying to test a GM that I found, your code comes in it and I found your user. When running the server I get errors, can you help me?

[debug] Run time error 19: "File or function is not found"
[debug] GetPlayerCustomSkin

@RogueDrifter
Copy link
Author

RogueDrifter commented Feb 2, 2023

@chainzw That means you're not using the DL version of samp. Update your includes to 0.3DL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment