- 0
Problema premium chat
-
Similar Content
-
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
GeoS
Problema intalnita (descriere): am facut premium chat sa mearga si admini si helperi sa poata vedea/vorbii pe acest chat , totul e ok daca acestia au premium user. daca nu au nu merge chiar daca sunt admini/helperi
Ero(area / rile) / warning-(ul / urile):-
Liniile de cod / sursa / script-ul(obligatoriu):
CMD:pc(playerid, params[])//CHAT premium { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You are not logged yet!"); if(IsPlayerConnected(playerid)) { if((PlayerInfo[playerid][pPremiumAccount] >= 1) ||( PlayerInfo[playerid][pAdmin] >= 1) || (PlayerInfo[playerid][pHelper] >= 1)) { new sendername[30],mesajelc[250],string[250]; GetPlayerName(playerid, sendername, sizeof(sendername)); if(sscanf(params, "s[250]",mesajelc)) return SCM(playerid,COLOR_WHITE,"{CCCCCC}USAGE:{FFFFFF} /pc <mesaj>"); { for(new i; i < sizeof(TLD); i++) { if(strfind(mesajelc, TLD[i], true) != -1) { if(strfind(mesajelc, "XXX", true) != -1 || strfind(mesajelc, "XXX", true) != -1 || strfind(mesajelc, "XXX") != -1) break; SendClientMessage(playerid, 0x0080FFFF, "{3BA158}[Server]: {B5B5B5}Nu ai voie sa faci reclama pe acest server!"); return 0; } } format(string, sizeof(string), "* {FFFF33}**Premium Chat** %s: {FFFFFF}%s",sendername, mesajelc); PremiumChat(0xFFFFFFFF, string); if (PlayerInfo[playerid][pAdmin] >= 1) { format(string, sizeof(string), "* {FFFF33}**Premium Chat** Admin %s: {FFFFFF}%s",sendername, mesajelc); PremiumChat(0xFFFFFFFF, string); } if (PlayerInfo[playerid][pHelper] >= 1) { format(string, sizeof(string), "* {FFFF33}**Premium Chat** Helper %s: {FFFFFF}%s",sendername, mesajelc); PremiumChat(0xFFFFFFFF, string); } } } } return 1; }Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: da
Rezolvat t/c
0 answers to this question
Recommended Posts