16.06.2011, 00:25
Como eu faзo para esse comando de contagem....
... Aparecer sу para as pessoas que estiverem alguns metrim perto de mim??
Код:
//topo.... forward Duel(playerid); forward Duel4(playerid); forward Duel3(playerid); forward Duel2(playerid); forward Duel1(playerid); forward DuelJa(playerid); ----------------------- //comando if(strcmp(cmdtext, "/contar", true) == 0) { if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"[ATENЗГO] - Voce nao й Admin ! Tente mais uma que levara Ban"); SetTimer("Duel", 1000, 0); SetTimer("Duel4", 2000, 0); SetTimer("Duel3", 3000, 0); SetTimer("Duel2", 4000, 0); SetTimer("Duel1", 5000, 0); SetTimer("DuelJa", 6000, 0); return true; } ----------------------- //final.... public Duel(playerid) // A PUBLIC { TogglePlayerControllable(playerid, 0); new string[50]; format(string, sizeof(string), "~r~5"); //MENSAGEN DE CARREGAMENTO GameTextForPlayer(playerid, string, 600, 6); PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetTimerEx("Duel4", 1000, 0,"e",playerid); // O Tempo return 1; } public Duel4(playerid) // A PUBLIC { TogglePlayerControllable(playerid, 0); new string[50]; format(string, sizeof(string), "~r~4"); //MENSAGEN DE CARREGAMENTO GameTextForPlayer(playerid, string, 600, 6); PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetTimerEx("Duel3", 1000, 0,"e",playerid); // O Tempo return 1; } public Duel3(playerid) // A PUBLIC { TogglePlayerControllable(playerid, 0); new string[50]; format(string, sizeof(string), "~r~3"); //MENSAGEN DE CARREGAMENTO GameTextForPlayer(playerid, string, 600, 6); PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetTimerEx("Duel2", 1000, 0,"e",playerid); // O Tempo return 1; } public Duel2(playerid) // A PUBLIC { TogglePlayerControllable(playerid, 0); new string[50]; format(string, sizeof(string), "~r~2"); //MENSAGEN DE CARREGAMENTO GameTextForPlayer(playerid, string, 600, 6); PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetTimerEx("Duel1", 1000, 0,"e",playerid); // O Tempo return 1; } public Duel1(playerid) // A PUBLIC { TogglePlayerControllable(playerid, 0); new string[50]; format(string, sizeof(string), "~r~1"); //MENSAGEN DE CARREGAMENTO GameTextForPlayer(playerid, string, 600, 6); PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetTimerEx("DuelJa", 1000, 0,"e",playerid); // O Tempo return 1; } public DuelJa(playerid) { TogglePlayerControllable(playerid, 1); new string[60]; format(string, sizeof(string), "~g~Vai Vai Vai!"); PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0); GameTextForPlayer(playerid, string, 100, 0); return 1; }