SA-MP Forums Archive
skin chosing in the baze - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: skin chosing in the baze (/showthread.php?tid=455932)



skin chosing in the baze - Luca12 - 03.08.2013

Hello I hope that you all will understand what I want to make so I want to make that FBI member's can choose the skin in their baze if you know what I mean they come to the pickup and then is dialog pop up and their choose change skin and they list the skin whit left mouse button? Thanks

Edit: This for dialog I can make but that else I don't know...


Re : skin chosing in the baze - Garwan50 - 03.08.2013

pawn Код:
if(strcmp("/undercover", cmdtext, true, 11) == 0) // if the player type the right cmd
        {
            new skinid; // create a skinid to stock de skin entered by the player
            if(PlayerInfo[playerid][pTeam] == TEAM_FBI) // If the player is from TEAM_FBI (change it by the variable you have)
            {
                if(sscanf(cmdtext[12], "i", skinid)) SendClientMessage(playerid, 0x41A5F5FF, "[USE] /undercover <skinid>"); // If the player just type the command send this message
                else
                {
                    SetPlayerSkin(playerid, skinid); // Else change the skin with the one that te player entered
                    SendClientMessage(playerid, 0x41A5F5FF, "Your skin has been changed");
                    return 1;
                }
            }
        }



Re: skin chosing in the baze - Hansrutger - 03.08.2013

Try these:

https://sampwiki.blast.hk/wiki/CreatePickup
https://sampwiki.blast.hk/wiki/ShowPlayerDialog
https://sampwiki.blast.hk/wiki/SetPlayerSkin




Re: skin chosing in the baze - Luca12 - 03.08.2013

you didn't help me at all....


Re: skin chosing in the baze - Hansrutger - 03.08.2013

Ain't nobody got time for scripting things for you. :P

Besides I don't think you can have pickups inside interiors as they are in other viritual worlds. Just a guess though as I have yet not seen a pickup inside an interior.


Re: skin chosing in the baze - Marricio - 03.08.2013

@Hansrugter Pickups aren't in other virtual worlds unless you set them.