Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define FILTERSCRIPT
- #define green 0x33AA33AA
- #include <ncbs>
- #include <a_samp>
- public OnFilterScriptInit()
- {
- print("**************************************************************************");
- print(" NoahF's Skin Change Announcer has loaded without any problems.");
- print("**************************************************************************");
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("**************************************************************************");
- print("NoahF's Skin Change Announcer has unloaded without any problems.");
- print("**************************************************************************");
- return 1;
- }
- public OnPlayerSkinChange(playerid, oldskin, newskin)
- {
- new string[128];
- format(string, sizeof(string), "%s has changed their skin to ID number %d!", pName(playerid), newskin);
- SendClientMessageToAll(green, string);
- return 1;
- }
- stock pName(playerid)
- {
- new Name[24];
- GetPlayerName(playerid, Name, 24);
- return Name;
- }
- /*
- --------------------------------------------------------------------------------------------------------------------
- NoahF's Skin Change Announcer was made on 8/24/2012. Please don't remove the credits!
- Feel free to post constructive criticism in a reply to this forum topic! :)
- Thanks to BigETI for the NCBS include.
- Thanks to iGetty for the pName stock idea.
- ----------------------------------------------------END OF CREDITS--------------------------------------------------
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement