DIALOG_STYLE_LIST
#1

I get these errors/warnings:

Quote:

C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(1806) : error 029: invalid expression, assumed zero
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(1806) : warning 215: expression has no effect
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(1806) : warning 215: expression has no effect
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(1806) : warning 215: expression has no effect
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(1806) : warning 215: expression has no effect
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(1806) : warning 215: expression has no effect
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(1806) : error 001: expected token: ";", but found ")"
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(1806) : error 029: invalid expression, assumed zero
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(1806) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

For:

Код:
CMD:playmusic(playerid, params[])
{
	ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music List", "My Time is Now\nPika Girl\n", "Select", "Cancel");LINE 1806
	return 1;
}
Reply
#2

I copied pasted the command and it compiled fine with me, are you sure thats all there is or show us how you defined DIALOG_MUSIC
Reply
#3

Try this:
pawn Код:
#define DIALOG_MUSIC 1234
CMD:playmusic(playerid, params[])
{
    #pragma unused params
    ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music List", "My Time is Now\nPika Girl", "Select", "Cancel");
    return 1;
}
Reply
#4

Solved:

Quote:

CMDlaymusic(playerid, params[])
{
ShowPlayerDialog(playerid, DIALOG_STYLE_LIST, DIALOG_MUSIC, "Music List", "My Time is Now\nPika Girl\n", "Select", "Cancel")
return 1;
}

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)