Jump to content

iluzzyon

Membru
  • Posts

    15
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

iluzzyon's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

1

Reputation

  1. Din nefericire pentru tine, nu e adevarat ce spui tu. Trebuie adus gamemode-ul la versiunea r33 al mysql-ului. EDIT: Daca chiar vrei sa-ti dovedesc, iti dau pm cu adresa ip al serverului + passoword.
  2. Cum nu pot? Trebuie sa aduc mysql la versiunea actuala?
  3. Cum as putea sa-l fac sa ruleze pe linux?
  4. Intra in start, la casuta de cautare scri CMD. In CMD scri 'ipconfig' si te uiti da 'IP Address' daca ai 192.168.1.101. Daca nu ai ip asa, stergi port forward-ul care l-ai facut tu si fac la fel doar ca cu IP pe care-l ai scris in CMD. Asa o sa-ti mearga. Tu nu o sa te poti conecta cu ip care-l aflii de pe http://ipchicken.comsau alte site-uri. Tu te loghezi cu 'localhost' sau cu ip pe care-l ai in CMD. IP care-l aflii de pe site-ul pe care ti l-am spus mai devreme il dai la playerii care vrei sa se conecteze pe server.
  5. Ia ultima versiune chrashdetect, am avut si eu problema asta.
  6. Ok. Am sa revin cu reply daca reusesc sau nu. Multumesc!
  7. Bine, am sa fac sistemul intr-un FS. Multumesc!
  8. Cum as putea sa fac sa suporte mai mult? In jur de 50-60?
  9. Problema intalnita (descriere): Cand folosesc comanda /buycar si dau la 'Cheap cars' sau 'Regular cars', nu-mi apar toate masinile care sunt in dealership. Imi apar in jur de 19/20 si dupa nu imi mai apar chiar daca le am puse. Ero(area / rile) / warning-(ul / urile): Nu-mi da erori sau warninguri. Liniile de cod / sursa / script-ul: Comanda [/buycar]: CMD:buycar(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, 5.0, 330.1172, -1511.3527, 36.0391)) { if(playerVariables[playerid][pLevel] >= 2) { ShowPlayerDialog(playerid, DIALOG_BUYCAR, DIALOG_STYLE_LIST, "SERVER: Vehicle Dealership", "Cheap carsnRegular carsnExpensive carsnPremium cars", "Select", "Cancel"); } else { SCM(playerid, -1, "You don't have level 2 or higher to buy a car!"); } } else { SCM(playerid, -1, "You are not at the DealerShip!"); } return 1; } DIALOG_BUYCAR: case DIALOG_BUYCAR: { if(response) { new string[2500]; switch(listitem) { case 0: { for(new xf = 0; xf < MAX_DEALERSHIP_CARS; xf++) { if(dealerVariables[xf][dCarType] == 1) { format(string, 640, "%s%s($%s - %d in stock)n", string,dealerVariables[xf][dCarName], NumberFormat(dealerVariables[xf][dCarPrice]), dealerVariables[xf][dCarStock]); ShowPlayerDialog(playerid, DIALOG_BUYCAR_SELECT, DIALOG_STYLE_LIST, "Buy a car", string, "Select", "Cancel"); } } } case 1: { for(new xf = 0; xf < MAX_DEALERSHIP_CARS; xf++) { if(dealerVariables[xf][dCarType] == 2) { format(string, 640, "%s%s($%s - %d in stock)n", string,dealerVariables[xf][dCarName], NumberFormat(dealerVariables[xf][dCarPrice]), dealerVariables[xf][dCarStock]); ShowPlayerDialog(playerid, DIALOG_BUYCAR_SELECT, DIALOG_STYLE_LIST, "Buy a car", string, "Select", "Cancel"); } } } case 2: { for(new xf = 0; xf < MAX_DEALERSHIP_CARS; xf++) { if(dealerVariables[xf][dCarType] == 3) { format(string, 640, "%s%s($%s - %d in stock)n", string,dealerVariables[xf][dCarName], NumberFormat(dealerVariables[xf][dCarPrice]), dealerVariables[xf][dCarStock]); ShowPlayerDialog(playerid, DIALOG_BUYCAR_SELECT, DIALOG_STYLE_LIST, "Buy a car", string, "Select", "Cancel"); } } } case 3: { format(string,sizeof(string),"Spearrow - 100 puncte premiumnVortex - 100 puncte premiumnHotring Racer - 100 puncte premiumnHotring Racer A - 100 puncte premiumnHotring Racer B - 100 puncte premiumnMaverick - 150 puncte premium"); ShowPlayerDialog(playerid, DIALOG_BUYCAR_PREMIUM, DIALOG_STYLE_LIST, "Buy a car", string, "Select", "Cancel"); } } } } Imagini / Video (optional): http://imgur.com/a/hWiK2 Ati incercat sa rezolvati singur?: Am incercat sa modific la string[1500] in string[2500], am crezut ca merge dar, in zadar.
  10. Nume: iluZZyon Nume tutorial: /attack cu un anumit interval Descriere: Cum pot face comanda /attack sa poata ataca doar intre orele 21 - 22 [pawn]CMD:attack(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); new hour,minn,sec; gettime(hour,minn,sec); if(!IsAMember(playerid)) return SCM(playerid,COLOR_WHITE,"{FFB870}Error: You are not a member of the Mafia."); if(PlayerInfo[playerid][pRank] < 3) return SCM(playerid,TEAM_AZTECAS_COLOR,"Error: You do not have rank 3."); new turf,faction,string[100],sendername[MAX_PLAYER_NAME]; for(new i = 1; i <= sizeof(TurfInfo); i++) { if(IsPlayerInTurf(playerid, i) == 1) { turf = i; break; } } GetPlayerName(playerid, sendername, sizeof(sendername)); if(turf == 0) return SCM(playerid, TEAM_AZTECAS_COLOR, "Error: You are not on a territory."); faction = PlayerInfo[playerid][pMember]; if(TurfInfo[turf][zOwned] == faction) return SCM(playerid, TEAM_AZTECAS_COLOR, "Error: You can't attack your own turf."); if(WarInfo[turf][wAttacker] != 0) return SCM(playerid, TEAM_AZTECAS_COLOR, "Error: Turf is already attacked."); if(TurfInfo[turf][zTime] > 0) { format(string,sizeof(string),"Error: Turf can be attacked in %d hours.",TurfInfo[turf][zTime]); SCM(playerid, TEAM_AZTECAS_COLOR,string); return 1; } if(InWar[faction] == 1) return SCM(playerid, TEAM_AZTECAS_COLOR, "Error: You have an active war."); if(InWar[TurfInfo[turf][zOwned]] == 1) return SCM(playerid, TEAM_AZTECAS_COLOR, "Error: This mafia have active war."); TurfInfo[turf][zTime] = 24; new str[128]; format(str,128,"UPDATE `turfs` SET `Time`='24' WHERE `ID`='%d'",turf); mysql_query(SQL,str); WarInfo[turf][wTime] = 900; WarInfo[turf][wAttacker] = faction; WarInfo[turf][wFaction] = TurfInfo[turf][zOwned]; format(string,sizeof(string),"Your mafia (%s) attacked turf %d owned by %s",sendername,turf,NumeFactiune(TurfInfo[turf][zOwned])); SendFamilyMessage(faction,TEAM_AZTECAS_COLOR,string); format(string,sizeof(string),"Turf %d, Time remaining: %s",turf,CalculeazaTimp(WarInfo[turf][wTime])); SendFamilyMessage(faction,TEAM_AZTECAS_COLOR,string); format(string,sizeof(string),"%s (%s) attacked your turf %d",NumeFactiune(WarInfo[turf][wAttacker]),sendername,turf); SendFamilyMessage(TurfInfo[turf][zOwned],TEAM_AZTECAS_COLOR,string); format(string,sizeof(string),"Turf %d, Time remaining: %s",turf,CalculeazaTimp(WarInfo[turf][wTime])); SendFamilyMessage(TurfInfo[turf][zOwned],TEAM_AZTECAS_COLOR,string); worstscoreat[turf] = 0; worstmemberat[turf] = 999; bestscoreat[turf] = 0; bestmemberat[turf] = 999; worstscoredf[turf] = 0; worstmemberdf[turf] = 999; bestscoredf[turf] = 0; bestmemberdf[turf] = 999; InWar[TurfInfo[turf][zOwned]] = 1; InWar[faction] = 1; return 1; }[/pawn]
×
×
  • Create New...

Important Information

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.