easydialog
#4

Because you forget a bracket

PHP Code:
Dialog:RandomDM(playeridresponselistiteminputtext[]) 

    new 
string[128], playerName[MAX_PLAYER_NAME]; 
    
GetPlayerName(playeridplayerNamesizeof(playerName)); 
    if (
response
    { 
        switch(
listitem// Check which option was chosen when they responded. We only have one for now. The next would be case 1, then case 2 and so on. 
            

                case 
0
                { 
                    
InDM[playerid] = true
                    
DM[playerid] = 0
                    
SpawnPlayer(playerid); 
                } 
            } 
            
format(stringsizeof(string), "{77B3D9}[DM Zones] {ffffff}%s(%i) has just entered {77B3D9}DM zone %i {ffffff}(/dm)"playerNameplayeridDM[playerid]); 
            
SendClientMessageToAll(-1string); 
            return 
1
        }  
// ?? One you missed
    

    return 
0;

Reply


Messages In This Thread
easydialog - by crukk11 - 15.04.2017, 15:01
Re: easydialog - by AndreiWow - 15.04.2017, 15:06
Re: easydialog - by crukk11 - 15.04.2017, 15:29
Respuesta: easydialog - by Ertouq - 15.04.2017, 17:34
Re: easydialog - by Vince - 15.04.2017, 17:39
Re: easydialog - by AndreiWow - 15.04.2017, 18:11
Re: easydialog - by crukk11 - 16.04.2017, 03:28
Re: easydialog - by Logic_ - 16.04.2017, 03:35
Re: easydialog - by crukk11 - 16.04.2017, 03:38
Re: easydialog - by Logic_ - 16.04.2017, 03:42

Forum Jump:


Users browsing this thread: 1 Guest(s)