C:\Users\D3r\Desktop\PES v8\gamemodes\SEv4.pwn(7473) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\D3\Desktop\PES v8\gamemodes\SEv4.pwn(7473) : error 017: undefined symbol "Y" C:\Users\D3\Desktop\PES v8\gamemodes\SEv4.pwn(7473) : warning 215: expression has no effect C:\Users\D3\Desktop\PES v8\gamemodes\SEv4.pwn(7473) : warning 215: expression has no effect C:\Users\D3\Desktop\PES v8\gamemodes\SEv4.pwn(7473) : warning 215: expression has no effect C:\Users\D3\Desktop\PES v8\gamemodes\SEv4.pwn(7473) : error 001: expected token: ";", but found ")" C:\Users\D3\Desktop\PES v8\gamemodes\SEv4.pwn(7473) : fatal error 107: too many error messages on one line
ShowPlayerDialog( playerid , DIALOG_CnR + 2 , DIALOG_STYLE_LIST , ""NAME_S" "W"- "S"Cops Refill" , CNRRefill( ) , "(Select)" , "" );
ShowPlayerDialog( playerid , DIALOG_CnR + 2 , DIALOG_STYLE_LIST , "NAME_S", "W- S Cops Refill , CNRRefill( ) ", "(Select)" , "" );
Код:
ShowPlayerDialog( playerid , DIALOG_CnR + 2 , DIALOG_STYLE_LIST , "NAME_S", "W- S Cops Refill , CNRRefill( ) ", "(Select)" , "" ); |
#include <a_samp>
#define DIALOG_CnR (100)
#define NAME_S "{FF0000}The server"
#define W "{FFFFFF}"
#define S "{AE00F5}"
CNRRefill( )
{
static const string[] = "Info about cops and robbers\nrefill. Ain't this sweet?";
return string;
}
public OnFilterScriptInit()
{
const playerid = 0;
ShowPlayerDialog( playerid , DIALOG_CnR + 2 , DIALOG_STYLE_LIST , ""NAME_S" "W"- "S"Cops Refill" , CNRRefill( ) , "(Select)" , "" );
return 1;
}