Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //==================================================================================================================================================================
- //=========================================================================================================================================================================
- //========================================================================[Skin Selector]===============================================================================
- //=========================================================================[by Gireada]=============================================================================================
- //============================================================[Daca te-am ajutat nu sterege creditele]======================================================================
- #include <a_samp>
- #include <zcmd>
- #include <mSelection>
- new skinlist = mS_INVALID_LISTID;
- public OnFilterScriptInit()
- {
- skinlist = LoadModelSelectionMenu("skins.txt");
- print("\n--------------------------------------");
- print(" Skin Selector by Gireada");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- main()
- {
- print("\n----------------------------------");
- print(" Skin Selector by Gireada");
- print("----------------------------------\n");
- }
- CMD:skin(playerid, params[])
- {
- ShowModelSelectionMenu(playerid, skinlist, "Alegeti Skin-ul");
- return 1;
- }
- public OnPlayerModelSelection(playerid, response, listid, modelid)
- {
- if(listid == skinlist)
- {
- if(response)
- {
- SetPlayerSkin(playerid, modelid);
- SendClientMessage(playerid, 0xFF0000FF, "Imi place noul tau look");
- }
- else SendClientMessage(playerid, 0xFF0000FF, "Arati bine si asa");
- return 1;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement