help please
#1

Well I got my server,

And I locked several skins to a certain Skin ID, where you need to type a password in to spawn in that certain skin. I was wondering if I could use a Input Dialog to do this. How would I go on doing this? Everytime I try to add the dialog it either shows before or after u type the password for the skin.

Thank you

Zach
Reply
#2

Put the Dialogs in the OnPlayerRequestSpawn, like this:

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
     if(GetPlayerSkin(playerid) == YOURSKINID)
    {
    ShowPlayerDialog...
    return 0;
    }
 
    return 1;
}
Reply
#3

Alright cynic,

Thanks much.. I had to remember where I needed to place them.

Zach
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)