Nokian73 Posted June 9, 2011 Posted June 9, 2011 Am o problema la server, aceasta este in felul urmator:Intru pe server cu un cont neinregistrat, ma inregistrez, si nu-mi da voie sa vorbesc pe chat decat daca folosesc comenziile " /local | /say " Daca dau relog, imi da voie sa vorbesc pe chat normal din tasta " T "Imi puteti spune de la ce poate fi? :undecided:P.S: MOD RPG (nu ma redirectionati la Probleme Godfather va rog mult...raspundeti-mi aici)
BlueSkiLLz Posted June 9, 2011 Posted June 9, 2011 Pai aja se GM tau sa vorbesti doar cu /say sau /local uitate la comenzile sau dane comenzile
Nokian73 Posted June 9, 2011 Author Posted June 9, 2011 Am specificat ca, daca dau relog imi da voie sa vorbesc normal !Comenziile sunt: if(strcmp(cmd, "/local", true) == 0 || strcmp(cmd, "/l", true) == 0 || strcmp(cmd, "/say", true) == 0) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, "[UltraGaming RPG]: Trebuie sa fi logat pentru a utiliza aceasta comanda."); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "» Scrie: (/l)ocal [local chat]"); return 1; } if(PlayerInfo[playerid][pHMuted] == 1) { SendClientMessage(playerid, TEAM_CYAN_COLOR, "[UltraGaming RPG]: Ai mute, nu poti utiliza aceasta comanda."); return 1; } format(string, sizeof(string), "» %s: %s", sendername, result); ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); printf("%s", string); } return 1; }
ruben88 Posted June 9, 2011 Posted June 9, 2011 Si pe unde adaug eu chestia aia?Posteaza la probleme GodFather!
Question
Nokian73
Am o problema la server, aceasta este in felul urmator:
Intru pe server cu un cont neinregistrat, ma inregistrez, si nu-mi da voie sa vorbesc pe chat decat daca folosesc comenziile " /local | /say "
Daca dau relog, imi da voie sa vorbesc pe chat normal din tasta " T "
Imi puteti spune de la ce poate fi? :undecided:
P.S: MOD RPG (nu ma redirectionati la Probleme Godfather va rog mult...raspundeti-mi aici)
5 answers to this question
Recommended Posts