Dialog Problems
#1

PHP код:
C:\Users\Matt\Desktop\SAMP\UMGS\gamemodes\UMG.pwn(13745) : error 001expected token"-string end-"but found "-identifier-"
C:\Users\Matt\Desktop\SAMP\UMGS\gamemodes\UMG.pwn(13745) : error 017undefined symbol "Close"
C:\Users\Matt\Desktop\SAMP\UMGS\gamemodes\UMG.pwn(13745) : error 037invalid string (possibly non-terminated string)
C:\Users\Matt\Desktop\SAMP\UMGS\gamemodes\UMG.pwn(13745) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

PHP код:
CMD:teles(playeridparams[]){
    
#pragma unused params
    
switch (Language[playerid])
    {
        case 
0:
        {
               
ShowPlayerDialog(playerid10DIALOG_STYLE_MSGBOX"{46BEE6}Teleport Commands""{0071FF}Stunt Place \n{FFFFFF}/aa /farm /groves /bs \n\n{FF88FF}Race Commands \n{FFFFFF}/Racetrack /drag /parkour \n\n{FF8846}Drift Commands\n{FFFFFF}/Drift1 /Drift2 /Drift3 /Drift4 /Drift5 /Drift6 /Drift7 /Drift8 /Drift9 /Drift10\n\n{5C8846}Jumps command\n/{FFFFFF}cooljump /ultrajump /superjump\", "Close", "");
        }
    }
    return 1;

Reply
#2

Try:
pawn Код:
CMD:teles(playerid, params[]){
    #pragma unused params
    switch (Language[playerid])
    {
        case 0:
        {
               ShowPlayerDialog(playerid, 10, DIALOG_STYLE_MSGBOX, "{46BEE6}Teleport Commands", "{0071FF}Stunt Place \n{FFFFFF}/aa /farm /groves /bs \n\n{FF88FF}Race Commands \n{FFFFFF}/Racetrack /drag /parkour \n\n{FF8846}Drift Commands\n{FFFFFF}/Drift1 /Drift2 /Drift3 /Drift4 /Drift5 /Drift6 /Drift7 /Drift8 /Drift9 /Drift10\n\n{5C8846}Jumps command\n/{FFFFFF}cooljump /ultrajump /superjump", "Close", "");
        }
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)