Jump to content
  • 0

Nu ami merge streamer-ul


ruben88

Question

3 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • Similar Content

    • By GamerulFOX
      Salut ! Nu merge o verificare ! Daca acel player, are acei bani, ii ofera mesajul "Acel jucator nu are suficienti lei pentru a platii amenda" ! Ce am facut gresit ?


      CMD:amenda(playerid, params[])
      {
          new id, amenda, string[256], Float:x, Float:y, Float:z, name[MAX_PLAYER_NAME];
          GetPlayerName(playerid, name, sizeof(name));
          GetPlayerPos(id, x, y, z);
          if(fPolitie[playerid] == 0) return SendClientMessage(playerid, RED, "Nu esti din factiunea 'Politie' !");
          if(sscanf(params, "ud", id, amenda)) return SendClientMessage(playerid, 0xff0000FF, "/amenda <playerid/name> <amount>");
          if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SCM(playerid, 0xff0000FF, "Acel jucator nu este conectat!");
          if(!IsPlayerInRangeOfPoint(playerid, 2.0, x, y ,z)) return SendClientMessage(playerid, 0xff0000FF, "Nu esti langa acel player!");
          if(GetPlayerMoney(id) != amenda) return SendClientMessage(playerid, 0xff0000FF, "Acel jucator nu are suficienti lei pentru a platii amenda!");
          GivePlayerMoney(id, -amenda);
          format(string, sizeof(string), "Ai fost amendat de politistul %s!", name);
          SendClientMessage(id, 0x00aeffFF, string);
          return 1;
      }
    • By GamerulFOX
      CMD:cursataxi(playerid, params[]) {     new id, bani, string[256], string1[256], name[MAX_PLAYER_NAME], name1[MAX_PLAYER_NAME];     GetPlayerName(playerid, name, sizeof(name));     GetPlayerName(id, name1, sizeof(name1));     if(sscanf(params, "ud", id, bani)) return SendClientMessage(playerid, SYNTAX, "/cursataxi <playerid/name> <amount>");     new Float:x, Float:z, Float:y;     GetPlayerPos(id, Float:x, Float:y, Float:z);     if(fTaxi[playerid] == 0) return SendClientMessage(playerid, 0xff0000FF, "Nu esti din factiunea 'Taxi' !");     if(!IsPlayerInVehicle(playerid, cTaxi[0])) return SendClientMessage(playerid, 0xff0000FF, "Nu esti in masina de taxi !");     if(!IsPlayerInVehicle(playerid, cTaxi[1])) return SendClientMessage(playerid, 0xff0000FF, "Nu esti in masina de taxi !");     if(!IsPlayerInVehicle(playerid, cTaxi[2])) return SendClientMessage(playerid, 0xff0000FF, "Nu esti in masina de taxi !");     if(!IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z)) return SendClientMessage(playerid, 0xff0000FF, "Nu esti langa acel player!");     if(GetPlayerMoney(id) < bani) return SendClientMessage(playerid, 0xff0000FF, "Acel player nu are suficienti lei pentru a platii cursa!");     if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SCM(playerid, 0xff0000FF, "Acel jucator nu este conectat!");     format(string, sizeof(string), "Iai oferit o cursa lui %s, pentru %d lei!", name1, bani);     SendClientMessage(playerid, 0x00aeffFF, string);     format(string1, sizeof(string1), "Taximetristul %s ti-a oferit o cursa pe %d lei!", name, bani);     SendClientMessage(playerid, 0x10d4deff, string);     GivePlayerMoney(id, -bani);     GivePlayerMoney(playerid, bani);     return 1; } VREAU SA MENTIONEZ CA AM INCERCAT SI ASA CMD:cursataxi(playerid, params[]) {     new id, bani, string[256], string1[256], name[MAX_PLAYER_NAME], name1[MAX_PLAYER_NAME];     GetPlayerName(playerid, name, sizeof(name));     GetPlayerName(id, name1, sizeof(name1));     if(sscanf(params, "ud", id, bani)) return SendClientMessage(playerid, SYNTAX, "/cursataxi <playerid/name> <amount>");     new Float:x, Float:z, Float:y;     GetPlayerPos(id, Float:x, Float:y, Float:z);     if(fTaxi[playerid] == 0) return SendClientMessage(playerid, 0xff0000FF, "Nu esti din factiunea 'Taxi' !");     if(GetPlayerVehicleID(playerid) != cTaxi[0] || GetPlayerVehicleID(playerid) != cTaxi[1] || GetPlayerVehicleID(playerid) != cTaxi[2]) return SendClientMessage(playerid, 0xff0000FF, "Nu esti in masina de taxi!");     if(!IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z)) return SendClientMessage(playerid, 0xff0000FF, "Nu esti langa acel player!");     if(GetPlayerMoney(id) < bani) return SendClientMessage(playerid, 0xff0000FF, "Acel player nu are suficienti lei pentru a platii cursa!");     if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SCM(playerid, 0xff0000FF, "Acel jucator nu este conectat!");     format(string, sizeof(string), "Iai oferit o cursa lui %s, pentru %d lei!", name1, bani);     SendClientMessage(playerid, 0x00aeffFF, string);     format(string1, sizeof(string1), "Taximetristul %s ti-a oferit o cursa pe %d lei!", name, bani);     SendClientMessage(playerid, 0x10d4deff, string);     GivePlayerMoney(id, -bani);     GivePlayerMoney(playerid, bani);     return 1; }

       
    • By HAndreiH
      Eu pe server am adăugat un System de tutorial și nu îmi apare ce trebuie de făcut si am nevoie de ajutor 
      HAndreiH#2247 
      Dacă se poate ma puteți ajuta 
    • By HAndreiH
      Nu pot sa cumpar masina din ds si nu stiu ce sa fac sa mearga
      La o posa cu ce imi apare

    • By nomad socio
      daca fac o baza de date pe localhost/phpmyadmin si imi bag datele in script, conectarea mysql are succes
      dar daca imi bag datele pe care le-am primit de la host, nu merge
      ce sa fac?
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.