need /updates command
#1

hi, i need a /updates command can anyone make one for me ?
Reply
#2

If you can't make this yourself then how are you going to actually update your script?

PHP код:
CMD:updates(playeridparams[])
{
    
SendClientMessage(playeridCOLOR"Updates here.");
    return 
1;

Reply
#3

Код:
#define ORANGE 					0xFF9900AA
#define limegreen 				0x00FF00FF
PHP код:
}
CMD:updates(playeridparams[])
{
        
SendClientMessage(playeridORANGE"~~~~~~~Server Updates~~~~~~");
        
SendClientMessage(playeridlimegreen"(Your updates here.");
        
SendClientMessage(playeridlimegreen"(Your updates here.");
        
SendClientMessage(playeridlimegreen"(Your updates here.");
        
SendClientMessage(playeridlimegreen"(Your updates here.");
        return 
1
Reply
#4

Heres one as a Dialog!
PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/updates"cmdtexttrue6) == 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;

Reply
#5

Quote:
Originally Posted by Luke_James
Посмотреть сообщение
If you can't make this yourself then how are you going to actually update your script?

PHP код:
CMD:updates(playeridparams[])
{
    
SendClientMessage(playeridCOLOR"Updates here.");
    return 
1;

i need a dialog style i did one time but i got errors.

this one u made is easy i can make too

but thanks.
Reply
#6

Quote:
Originally Posted by MrGtasagamer
Посмотреть сообщение
Heres one as a Dialog!
PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/updates"cmdtexttrue6) == 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;

thanks. i will try that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)