09.01.2014, 16:44
Поскольку в нативах инклюдных не даётся никаких уточнений, то const там не нужен:
А зачем public? Если только для CallRemote, то не проще в мод засунуть ФС?
Если нет, то на ум приходит только такое:
pawn Код:
native ShowPlayerDialog(playerid, dialogid, style, caption[], info[], button1[], button2[]);
Если нет, то на ум приходит только такое:
pawn Код:
public OnPlayerConnect(playerid)
{
SPD(playerid, 1, 2, "", "", "", "");
return 1;
}
forward SPD(playerid, dialogid, style, caption[], info[], button1[], button2[]);
public SPD(playerid, dialogid, style, caption[], info[], button1[], button2[])
{
if(strlen(button2) < 1) ShowPlayerDialog(playerid, dialogid, style, caption, info, button1, "");
else ShowPlayerDialog(playerid, dialogid, style, caption, info, button1, button2);
return 1;
}