binco help
#1

Hi,

How can I create a Binco with certain skins

please help
(sorry for my bad english)
Reply
#2

Well, it depends what exactly you want. Typically you could simply create a dialog:
pawn Code:
ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_INPUT, "Binco...", "Enter a skin ID to purchase", "Okay", "Cancel");
Then go down to the OnDialogResponse callback and use the SetPlayerSkin function.

Good luck!

~Nmader
Reply
#3

thank you bu I want a skin selection where you can see the people
Reply
#4

you can force the player to go back to a class selection
like so
pawn Code:
ForceClassSelection(playerid);
TogglePlayerSpectating(playerid, true);
TogglePlayerSpectating(playerid, false);
and on the callback
pawn Code:
public OnPlayerRequestClass(playerid,classid)
{
    if(InBincao[playerid]==1)
           {
                 AddPlayerClass(i,0.0,0.0,0.0,0.0,-1,-1,-1,-1,-1,-1);//add different skins for the shop.
           }
}
so its not the same and you can change their position as well so they stay in the shop.
Reply
#5

when i press the spawn button i get the old skin again
Reply
#6

Quote:
Originally Posted by INeed
View Post
when i press the spawn button i get the old skin again
You'll need to change the player skin variable to the skin he chose.
Reply
#7

and how can I do that ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)