Jump to content
  • 0

Nu merge compile..


skT^

Question

4 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 JoeMirana
      F:\server\gamemodes\gm.pwn(50200) : error 001: expected token: "-string end-", but found "-identifier-"
      F:\server\gamemodes\gm.pwn(50200) : error 001: expected token: ")", but found "return"
      cum sa rezolve?
    • By JoeMirana
      atunci cand vreau compile game mode 1 error :
      game mode compile + error:
      F:\game\pawno\include\nex-ac.inc(7179) : warning 202: number of arguments does not match definition F:\game\pawno\include\nex-ac.inc(7192) : error 025: function heading differs from prototype Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.  
      nex-ac.inc line 7192 error line:

      cum sa rezolve?
  • 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.