Quote:
Originally Posted by LeViNS
Estб desse jeito?
PHP код:
if(strcmp(cmd, "/reiniciar", true) == 0) {
new nomej[MAX_PLAYER_NAME];
GetPlayerName(playerid, nomej, MAX_PLAYER_NAME);
if(strcmp("SeuNick", nomej)) return 1;
SendClientMessageToAll(0x0000FFFF,"| SERVIDOR | Reiniciando servidor...");
GameTextForAll("~r~Reiniciando Servidor...", 1000, 4);
SendRconCommand("gmx");
return 1;
}
|
Agora funcionou, obrigado cara. +rep