25.11.2011, 22:47
Quote:
Код:
COMMAND:comandos(playerid, params[]) { ShowPlayerDialog(playerid, 8439, DIALOG_STYLE_LIST, "Comandos", "{F60001}/Drift \n{00FF7F}/Corrida\n{00FFFF}/Pmi\n{FFFF00}/Drop\n/Insano\n{FFB90F}/Reparar\n{9B30FF}/Kill\n{D3D3D3}/Creditos\n{FFFFE0}/Afk\n{FFFFFF}/Sairafk\n{8B7D7B}/Animes \n/Dm", "Fechar", ""); return 1; } Код:
COMMAND:insano(playerid, params[]) { new string[128], sendername[MAX_PLAYER_NAME]; SetPlayerPos(playerid,-3653.53,381.42,1191.10); SendClientMessage(playerid, Cor_AzEscuro, "=========================================================="); SendClientMessage(playerid, Cor_Vermelho, "Bem Vindo a Insano Da Morte !"); SendClientMessage(playerid, Cor_AzEscuro, "=========================================================="); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "» %s Foi Insano Da Morte ( /insano) !", sendername); SendClientMessageToAll(Cor_Branca, string); return 1; } Код:
COMMAND:animes(playerid, params[]) { ShowPlayerDialog(playerid, 45, DIALOG_STYLE_MSGBOX, "Animes", "{F60001}/Rendese {F60001}/Ligar {F60001}/Desligar {F60001}/Bebado {F60001}/Apontar {F60001}/Merda {F60001}/Mascarase {F60001}/Roubar\n{00FF7F}/Cruzarb {00FF7F}/Deitar {00FF7F}/Abaixar {00FF7F}/Vomitar {00FF7F}/Comer {00FF7F}/Rap {00FF7F}/Passarmao {00FF7F}/Cobrar\n{FFB90F}/Overdose {FFB90F}/Fumar {FFB90F}/Fumar2 {FFB90F}/Sentar {FFB90F}/Conversar {FFB90F}/Fodase {FFB90F}/Taichi {FFB90F}/Observar", "Fechar", ""); return 1; } Код:
COMMAND:afk(playerid, params[]) { new string [60]; new pname [40]; TogglePlayerControllable(playerid, 0); SendClientMessage(playerid, Cor_Vermelho, "Vocк esta AFK"); format(string, sizeof(string), "O Jogador %s estar AFK", pname); // MENSAGEM A TODOS return 1; } Код:
COMMAND:sairafk(playerid, params[]) { new string [70]; new pname [10]; TogglePlayerControllable(playerid, 1); SendClientMessage(playerid, Cor_AzEscuro, "Vocк nгo esta mais AFK"); format(string, sizeof(string), "O Jogador %s voutou a jogar", pname); // MENSAGEM A TODOS return 1; } |
Editei com as returns...