[Ajuda] Alquem Ajuda Fazer o comando /gmx
#1

Esplica para min pf tipo:
public OnGameModeExit()
{
DOF2_Exit();
return 1;
}
//=====================
o Comando e que vi funcionar no servidor Comeзando ja 2 meses.
Reply
#2

PHP код:
CMD:gmx() {
    return 
SendRconCommand("gmx");

Reply
#3

Quote:
Originally Posted by moura98
Посмотреть сообщение
PHP код:
CMD:gmx() {
    return 
SendRconCommand("gmx");

deu errado
Reply
#4

Tenta assim:
PHP код:
CMD:gmx()
{
   
SendRconCommand("gmx");
   return 
true;

Reply
#5

tenta assim
PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if ( 
strcmp(cmdtext"/gmx"true) == )
    {
        
SendRconCommand("gmx");
        return 
true;
    }

Reply
#6

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if ( strcmp(cmdtext, "/gmx", true) == 0 )
    {

        SendRconCommand("gmx");

            return 1;
	}
  return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)