- 0
Rezolvare comanda /deblock
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Rullez.
Doresc si eu rezolvarea comenzii /deblock
if (strcmp(cmd, "/deblock", true)==0) { if((IsPlayerAdmin(playerid)) || PlayerInfo[playerid][pAdmin] >=3) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "UTILIZEAZA: /deblock [Nume_Prenume] (Contul cu acest nume va fi sters din baza de date)"); return 1; } giveplayerid = ReturnUser(tmp); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(giveplayer)); format(string, 256, "ATENTIE ADMINI: %s a deblocat contul lui %s", sendername, tmp); ABroadCast(COLOR_YELLOW,string,1); format(string, 256, "ATENTIE ADMINI: %s a deblocat contul lui %s ", sendername, tmp); printf(string); PlayerInfo[giveplayerid][pLocked] = 0; } return 1; }7 answers to this question
Recommended Posts