skin chosing in the baze
#1

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...
Reply
#2

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;
                }
            }
        }
Reply
#3

Try these:

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

Reply
#4

you didn't help me at all....
Reply
#5

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.
Reply
#6

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


Forum Jump:


Users browsing this thread: 1 Guest(s)