-
Posts
214 -
Joined
-
Last visited
-
Days Won
6
Content Type
Profiles
Forums
News
Documentation
Everything posted by Versace
-
Mai este valabil?
-
Recrutez Scripter Bun si Echipa - SERVER VECHI -
Versace replied to Blu3HaSky's topic in Caut servicii / partener / etc.
Te saluta Versace,mai este valabila oferta? -
Dupa cum spune si titlul vreau sa cumpar un gamemode GF/GODFATHER,astept oferta voastra in privat! Zi buna!
-
Dupa cum spune si titlul cumpar un gamemode godfather la un pret decent,nu ofer mai mult de 100 lei,plata de preferat bancar sau paypal. Astept ofertele voastre,cu descrierile voastre. O zi buna!
-
if(strcmp(cmd, "/angajeaza", true) == 0) { if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Nu esti conectat."); if(!IsPlayerInRangeOfPoint(playerid, 1.0, 1019.3221,-1370.8268,13.5540)) return SendClientMessage(playerid, -1, "Trebuie sa fii in pickup-ul de la HotDog pentru a te angaja."); if(PlayerInfo[playerid][pJob] != 0) return SendClientMessage(playerid, -1, "Deja detii un job."); PlayerInfo[playerid][pJob] = 17; SendClientMessage(playerid, -1, "Felicitari! Acum detii job-ul HotDog."); return 1; } if(strcmp(cmd, "/livreaza", true) == 0) { new rand; if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Nu esti conectat."); if(PlayerInfo[playerid][pJob] != 17) return SendClientMessage(playerid, -1, "Nu detii job-ul de HotDog."); if(livrare[playerid] != 0) return SendClientMessage(playerid, -1, "Deja livrezi pizza."); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "Trebuie sa fii intr-un vehicul pentru a incepe livrarile."); if(!IsPlayerInRangeOfPoint(playerid, 4.0, 990.9988,-1363.0720,13.3664)) return SendClientMessage(playerid, -1, "Trebuie sa fii in pickup-ul din fata pentru a incarca masina cu hotdog-uri."); rand = random(sizeof(RandomPizza)); CPizza[playerid] = 1; livrare[playerid] = 1; SetPlayerCheckpoint(playerid, RandomPizza[rand][0], RandomPizza[rand][1], RandomPizza[rand][2], 2.0); SendClientMessage(playerid, -1, "Mergi la punctul marcat pe harta pentru a livra hotdog."); SendClientMessage(playerid, -1, "Daca doresti sa anulezi livrarea foloseste comanda /oprestelivrarea."); return 1; } if(strcmp(cmd, "/oprestelivrarea", true) == 0) { if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Nu esti conectat."); if(PlayerInfo[playerid][pJob] != 17) return SendClientMessage(playerid, -1, "Nu detii job-ul HotDog."); if(livrare[playerid] == 0) return SendClientMessage(playerid, -1, "Nu livrezi hotdog pentru a opri livrarile."); DisablePlayerCheckpoint(playerid); livrare[playerid] = 0; CPizza[playerid] = 0; return 1; } if(CPizza[playerid] == 1) { GivePlayerMoney(playerid, 150000); SendClientMessage(playerid, -1, "Ai primit 150.000$ pentru aceasta livrare."); SendClientMessage(playerid, -1, "Daca doresti sa mai livrezi hotdog, mergi inapoi la magazin si foloseste comanda /livreaza."); CPizza[playerid] = 0; livrare[playerid] = 0; DisablePlayerCheckpoint(playerid); }
-
Nu la find,gand dau /gps si ma duc la un CP si am pornit job-ul in acelasi timp imi sterge cp-ul de la job si ma duce la cel selectat de mine in gps si imi da banii ne fiind acel cp
-
Saltu am creat un job totul merge bine nu am am nici o erroare cand incep munca sa ma duc la checkpoint si dau /find pe un jucator sau dau /gps pe un loc aproape sa zicem ma duc acolo,intru in checkpoint si imi da banii,as dorii sa primesc banii doar la checkpoint-urile puse de mine.
-
487.4521,-1639.6808,23.7031,225.600021,1289.617431,1082.140625,0,0,0,0,0,0,The State,De vanzare,3000000,0,0,1,1,0,0,500,1000,0,418,-1,-1,226,10,132 IMi adauga id 0 la casa pe care am adaugat-o,am modificat toate 0-urile si tot 0 arata,care este id-ul casei?
-
Am adaugat ca cei care au vip sa aiba scrisul colorat cand scriu pe chat dar apare si [VIP]says si says: apar 2 mesaje if (realchat) { if(gPlayerLogged[playerid] == 0) { return 0; } if(PlayerInfo[playerid][pHelper] > 0 || PlayerInfo[playerid][pAdmin] > 0) { format(string, sizeof(string), "{#FFFFFF} %s{FFFFFF} Says: %s", sendername, text); SetPlayerChatBubble(playerid, string, 0xF6F6F6FF, 20.0, 8000); } GetPlayerName(playerid, sendername, sizeof(sendername)); ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); SetTimerEx("AntiChatSpam", 1000, false, "i", playerid); Ptexted[playerid] = 1; if(Ptexted[playerid] == 1 && PlayerInfo[playerid][pAdmin] == 0) { SendClientMessage(playerid, COLOR_WHITE, "{CCFF99}[AntiSpam] {ffffff}Wait 2 seconds!"); return 0; } GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pDonateRank] > 0) { format(string, sizeof(string), "{4200F7}[V.I.P] %s{FFFFFF} Says: %s", sendername, text); } ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); SetTimerEx("AntiChatSpam", 1000, false, "i", playerid); Ptexted[playerid] = 1; return 0; } return 1; } Daca scot vip-ul tot la fel se scriu doua randuri in chat de 2 ori. Vreau daca ai vip sa-ti apara doar un rand Daca nu ai vip sa-ti apara cu alb ca civl,sau ca restul,doar la vip sa apara cu culorea respectiva.
-
Iti multumesc mult,T/C
-
Fa fel./// //----------------------------------[Kick]------------------------------------------------ if(strcmp(cmd, "/kick", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "Tasteaza: /kick [IDJucator/ParteDinNume] [motiv]"); return 1; } giveplayerid = ReturnUser(tmp); if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 3) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if (PlayerInfo[giveplayerid][pAdmin] > 1) { SendClientMessage(playerid, COLOR_GRAD1, "You cannot kick the member of staff!."); return 1; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); 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, "Tasteaza: /kick [IDJucator/ParteDinNume] [motiv]"); return 1; } new year, month,day; getdate(year, month, day); format(string, sizeof(string), "[Staff]: %s was kicked by %s,reason: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year); KickLog(string); format(string, sizeof(string), "{FFFFFF}Junimea: {3399FF}%s {FFFFFF}was kicked by {3399FF}%s{FFFFFF}, reason: {3399FF}%s", giveplayer, sendername, (result)); SendClientMessageToAll(COLOR_LIGHTRED, string); KickEx(giveplayerid); return 1; } } } else { format(string, sizeof(string), " %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } } return 1; }
-
Nu,fara sa selectez ceva dau ESC sa zicem ca am gresit sau dau CANCEL cand sunt cele 3 selectii fara sa selectez si primesc KICK.
-
Nu la selectii,dau pe selectie trimtie report dar cand dau ''cance'' sau 'ESC sa inchid dialogul fara sa dau report imi da kick
-
nu mai primesc erroare dar kick tot primesc
-
apare dialogul C:\Users\Florin\Desktop\New folder\Project\gamemodes\Braila.pwn(20064) : warning 203: symbol is never used: "giveplayerid" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Header size: 13636 bytes Code size: 2763220 bytes Data size: 3731444 bytes Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion Total requirements: 6524684 bytes 1 Warning.
-
comanda o ai mai sus.
-
la fel,primesc kick. C:\Users\Florin\Desktop\New folder\Project\gamemodes\Braila.pwn(20064) : warning 203: symbol is never used: "giveplayerid" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Header size: 13636 bytes Code size: 2763220 bytes Data size: 3731444 bytes Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion Total requirements: 6524684 bytes 1 Warning.
-
Am creat un sistem de /report pe dialog si cand ies cu ESC sau dau pe CANCEL din dialog de la /report primesc kick if(!strcmp(cmdtext, "/report", true)) { if(IsPlayerConnected(playerid)) { if(ReportMute[playerid] >= 1) return SCM(playerid, COLOR_WHITE, "Ai mute pe report!"); if(BugReport[playerid] == -1) SendClientMessage(playerid, COLOR_LIGHTRED, "** Wait 1 minute before another /report."); ShowPlayerDialog(playerid,DIALOG_REPORT,DIALOG_STYLE_LIST,"Report","Raporteaza un jucator.\nAjutor / Probleme.\nSemnaleaza un BUG.","Select","Cancel"); } return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { new sendername[MAX_PLAYER_NAME]; new string[256]; new giveplayerid; new vehid = GetPlayerVehicleID(playerid); if(dialogid == DIALOG_REPORT) { if(response == 1) { if(listitem == 0) { ShowPlayerDialog(playerid,DIALOG_REPORTJUCATOR,DIALOG_STYLE_INPUT,"Raporteaza un jucator:","Spuneti-ne cateva detalii despre jucator si numele acestuia.","Select","Cancel"); return 1; } if(listitem == 1) { ShowPlayerDialog(playerid,DIALOG_AJUTOR,DIALOG_STYLE_INPUT,"Ajutor / probleme:","Ce problema aveti?","Select","Cancel"); return 1; } if(listitem == 2) { ShowPlayerDialog(playerid,DIALOG_BUG,DIALOG_STYLE_INPUT,"Raporteaza un BUG:","Despre ce bug este vorba?","Select","Cancel"); return 1; } } } if(dialogid == DIALOG_REPORTJUCATOR) { if(response == 1) { SendClientMessage(playerid,COLOR_WHITE,"SERVER: Jucatorul a fost raportat , iar in scurt timp un administrator se va ocupa de acesta."); format(string,sizeof(string),"[REPORT]: {7a0f27}%s{FFFFFF} a raportat un jucator! : {7a0f27}({FFFFFF} %s {7a0f27})",Nume(playerid),inputtext); ABroadCast(COLOR_1BLUE,string,1); SetPVarInt(playerid,"Report",1); } } if(dialogid == DIALOG_AJUTOR) { if(response == 1) { SendClientMessage(playerid,COLOR_WHITE,"SERVER: Problema dvs. a fost trimisa catre un administrator."); format(string,sizeof(string),"[REPORT]: {7a0f27}%s{FFFFFF} are o problema! : {7a0f27}({FFFFFF} %s {7a0f27})",Nume(playerid),inputtext); ABroadCast(COLOR_1BLUE,string,1); SetPVarInt(playerid,"Report",1); } } if(dialogid == DIALOG_BUG) { if(response == 1) { SendClientMessage(playerid,COLOR_WHITE,"SERVER: BUG-ul gasit de dvs. a fost trimis catre un administrator pentru analizare! Iti multumim!"); format(string,sizeof(string),"[REPORT]: {7a0f27}%s{FFFFFF} a gasit un bug! : {7a0f27}({FFFFFF} %s {7a0f27})",Nume(playerid),inputtext); ABroadCast(COLOR_1BLUE,string,1); SetPVarInt(playerid,"Report",1); } else return 1; }
-
Daca vreau sa inchid dialogul in timp ce este /report primesc kick