23.08.2015, 19:59
hi, i need a /updates command can anyone make one for me ?
CMD:updates(playerid, params[])
{
SendClientMessage(playerid, COLOR, "Updates here.");
return 1;
}
#define ORANGE 0xFF9900AA #define limegreen 0x00FF00FF
}
CMD:updates(playerid, params[])
{
SendClientMessage(playerid, ORANGE, "~~~~~~~Server Updates~~~~~~");
SendClientMessage(playerid, limegreen, "(Your updates here.");
SendClientMessage(playerid, limegreen, "(Your updates here.");
SendClientMessage(playerid, limegreen, "(Your updates here.");
SendClientMessage(playerid, limegreen, "(Your updates here.");
return 1;
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/updates", cmdtext, true, 6) == 0)
{
ShowPlayerDialog(playerid,2,DIALOG_STYLE_LIST,"Write here somethin","Update 1: New Features, Update 2: New Vehicles, Update 3: Best update command","Button1","Button2"); // you can change the dialog style so
return 1;
}
return 0;
}
If you can't make this yourself then how are you going to actually update your script?
PHP код:
|
Heres one as a Dialog!
PHP код:
|