Help: Error 035: argument type mismatch (argument 4)
#1

PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid==DIALOG_REGISTER)
    {
        if(
response==0)
        {
            
SendClientMessage(playeridCRVENA"Kikovan si! Razlog: Odustao si od Registracije");
            
Kick(playerid);
            return 
1;
        }
        if(
response==1)
        {
            if(!
strlen(inputtext))
            {
                
SendClientMessage(playeridCRVENA"Sifra koju ste napisali je prekratka");
                
ShowPlayerDialog(playeridDIALOG_REGISTERDIALOG_STYLE_INPUTCRVENA"Molim te napisi duzu sifru") ;
                return 
1;
            }
            else
            {
                
Register(playeridinputtext);
                return 
1;
            }
        }
    }
    if(
dialogid==DIALOG_TELEPORT)
    {
        if(
response)
        {
            if(
listitem==0)
            {
                
//Spawn
                
SetPlayerPos(playerid2265.5715,62.9721,26.4844 );
            }
            if(
listitem==1)
            {
                
//Banka
                
SetPlayerPos(playerid2299.1245,-16.0958,26.4844 );
            }
        }
        else
        {
            
SendClientMessage(playeridPLAVA"Odustali ste od teleportacije");
        }
        
     }
    return 
1;
}[/
INDENT
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)