Password to skin
#9

PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    
SetPlayerPos(playerid1448.6843,-2286.8081,13.5469);
    
SetPlayerCameraPos(playerid1440.2529,-2286.7510,13.5469);
    
SetPlayerCameraLookAt(playerid1440.2529,-2286.7510,13.5469);
    for(new 
i;i<sizeof(PasswordClass);i++)
    {
        if(
classid == PasswordClass[i])
        {
            
ShowPlayerDialog(playerid,DIALOG_SKINPW,DIALOG_STY LE_INPUT,"Само членове на Армията знаят паролата! И имат право да използват тези скинове!");
            break;
        }
    }
    return 
1;
}
//OnDialogResponse:
if(dialogid == DIALOG_SKINPW)
{
    if(
response)
    {
        if(!
strcmp(inputtext,"protectordie",true))
        {
            
SpawnPlayer(playerid);
        }
    }
    return 
1;

Reply


Messages In This Thread
Password to skin - by Bulgaria - 30.03.2016, 07:24
Re: Password to skin - by saffierr - 30.03.2016, 07:40
Re: Password to skin - by Mencent - 30.03.2016, 07:47
Re: Password to skin - by Bulgaria - 30.03.2016, 07:52
Re: Password to skin - by Mencent - 30.03.2016, 08:02
Re: Password to skin - by Bulgaria - 30.03.2016, 08:09
Re: Password to skin - by Mencent - 30.03.2016, 08:12
Re: Password to skin - by Bulgaria - 30.03.2016, 08:13
Re: Password to skin - by Mencent - 30.03.2016, 08:16
Re: Password to skin - by Mencent - 31.03.2016, 09:31

Forum Jump:


Users browsing this thread: 2 Guest(s)