Jump to content
  • 0

Pawno Moare


florin

Question

7 answers to this question

Recommended Posts

Guest farse

mergi din 300 in 300 linii si pune #endinput,iti vor da erori,dar stii ca pana acolo e bine,stergi endinput,sari peste 300 linii,pui endinput,compile,pana cand iti da don't send,cand iti da ins. ca e eroare e intre acele linii

Link to comment
Share on other sites

Am si eu o problema!

Nu am mai creeat nici un topic pentru ca e o problema asemanatoare!

Deci oricea as pune nou in GM , mi se compileaza cu succes dar .amx e 0KB??

mai zic o data orice pun !!

Imi zice asa in consola:

[pawn][23:48:07] Script[gamemodes/RBS.amx]: Run time error 17: "Invalid/unsupported P-code file format"

[23:48:07] Failed to load 'gamemodes/RBS.amx' script.

[23:48:07] Number of vehicle models: 0[/pawn]

Care stie .... sa lase un com.!

468833_437698_362328_hiphop.jpg
Link to comment
Share on other sites

Am si eu o problema!

Nu am mai creeat nici un topic pentru ca e o problema asemanatoare!

Deci oricea as pune nou in GM , mi se compileaza cu succes dar .amx e 0KB??

mai zic o data orice pun !!

Imi zice asa in consola:

[pawn][23:48:07] Script[gamemodes/RBS.amx]: Run time error 17: "Invalid/unsupported P-code file format"

[23:48:07] Failed to load 'gamemodes/RBS.amx' script.

[23:48:07] Number of vehicle models: 0[/pawn]

Care stie .... sa lase un com.!

Nu e deloc asemanatoare, dar vezi sa nu ai diacritice ...

Topic locked !

Link to comment
Share on other sites

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

    • By Shad0wdpbgd
      Salut. Am zcmd-ul bagat in pawno -> include si degeaba... tot nu merge. am pus si in pawno #include <zcmd>, si imi zice "D:\Downloads\samp037_svr_R2-1-1_win32\gamemodes\Untitled.pwn(6) : fatal error 100: cannot read from file: "zcmd" si nu stiu ce are. Help plsss
    • By M4c
      Salutare, după cum zice si titlul, intentionez să deschid un server sa-mp ce rulează pe mysql, și când dau complie la gm, îmi dă eroarea asta.
      C:\Users\i\Desktop\main.pwn(57) : fatal error 100: cannot read from file: "amx\os" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error. Am scos acel include, și tot aceași erroare mi-o dă, stie careva cum pot rezolva problema asta? Ms mult ! 
    • By Rafaly
      Salutare! Am si eu putin nevoie de ajutor ! 
      error 001: expected token: ";", but found "-identifier-"
    • By NuamNume
      Help pls
      public OnPlayerStateChange(playerid, newstate, oldstate)
      {
          if(newstate == PLAYER_STATE_DRIVER)
          {
              if(playerInfo[playerid][pFlyLicense] == 0 && isPlane(GetPlayerVehicleID(playerid)))
              {
                  sendPlayerError(playerid, "Nu ai licenta de pilot.");
                  ClearAnimations(playerid);
                  return true;
              }
              if(playerInfo[playerid][pBoatLicense] == 0 && isBoat(GetPlayerVehicleID(playerid)))
              {
                  sendPlayerError(playerid, "Nu ai licenta de navigatie.");
                  ClearAnimations(playerid);
                  return true;
              }
              if(playerInfo[playerid][pDrivingLicense] == 0 && !isBike(GetPlayerVehicleID(playerid)) && !isBoat(GetPlayerVehicleID(playerid)) && !isPlane(GetPlayerVehicleID(playerid)) && GetPlayerVehicleID(playerid) != playerInfo[playerid][pExamenVehicle])
              {
                  sendPlayerError(playerid, "Nu ai licenta de condus.");
                  ClearAnimations(playerid);
                  return true;
              }
              GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
              SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective);    
              if[vehicle_engine[GetPlayerVehicleID(playerid)])
                  SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
              if(isBike(GetPlayerVehicleID(playerid)))
              {
                  SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
                  vehicle_engine[GetPlayerVehicleID(playerid)] = true;
              }
          }
          if(newstate == PLAYER_STATE_ONFOOT || oldstate == PLAYER_STATE_DRIVER)
          {
              if(IsValidVehicle(playerInfo[playerid][pExamenVehicle]))
                  examenFail(playerid);
          }
          return 1;
      }
       
      public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
      {
          if(PRESSED(KEY_LOOK_BEHIND))
          {
              if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || !isBike(GetPlayerVehicleID(playerid)) || GetPVarInt(playerid, "engineDeelay") != gettime())
              {
                  Command_ReProcess(playerid, "engine", false);
              }
          }
          if(PRESSED(KEY_ACTION))
          {
              if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || !isBike(GetPlayerVehicleID(playerid)) || !isBoat(GetPlayerVehicleID(playerid)) || !isPlane(GetPlayerVehicleID(playerid)))
              {
                  Command_ReProcess(playerid, "lights", false);
              }
          }
          if(PRESSED(KEY_ANALOG_DOWN))
          {
              if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || !isBike(GetPlayerVehicleID(playerid)) || !isBoat(GetPlayerVehicleID(playerid)) || !isPlane(GetPlayerVehicleID(playerid)))
              {
                  GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, objective);
                  return true;
              }
                  vehicle_boot[GetPlayerVehicleID(playerid)] = true;
                  SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, objective);    
                  return true;
              }
          }
          if(PRESSED(KEY_ANALOG_UP))
          {
              if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || !isbike(GetPlayerVehicleID(playerid)) || !isBoat(GetPlayerVehicleID(playerid)) || !isPlane(GetPlayerVehicleID(playerid)))
              {
                  new engine, lights, alarm, doors, bonnet, boot, objective;
                  GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
                  if(vehicle_bonnet[GetPlayerVehicleID(playerid)]) == true)
                  {
                      vehicle_bonnet[GetPlayerVehicleID(playerid)] = false;
                      SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, VEHICLE_PARAMS_OFF, VEHICLE_PARAMS_OFF, objective);
                      return true;
                  }
                  vehicle_bonnet[GetPlayerVehicleID(playerid)] = true;
                  SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, VEHICLE_PARAMS_ON, VEHICLE_PARAMS_ON, objective)
              }
          }
          return 1;
      }
       
      Erori: 
      C:\Users\Raul\Desktop\Tuts GM\pawno\include\callbacks.inc(865) : warning 219: local variable "doors" shadows a variable at a preceding level
      C:\Users\Raul\Desktop\Tuts GM\pawno\include\callbacks.inc(866) : warning 219: local variable "lights" shadows a variable at a preceding level
      C:\Users\Raul\Desktop\Tuts GM\gamemodes\Tuts.pwn(704) : error 017: undefined symbol "engine"
      C:\Users\Raul\Desktop\Tuts GM\gamemodes\Tuts.pwn(705) : error 017: undefined symbol "lights"
      C:\Users\Raul\Desktop\Tuts GM\gamemodes\Tuts.pwn(706) : error 029: invalid expression, assumed zero
      C:\Users\Raul\Desktop\Tuts GM\gamemodes\Tuts.pwn(706) : error 001: expected token: ";", but found ")"
      C:\Users\Raul\Desktop\Tuts GM\gamemodes\Tuts.pwn(706) : error 029: invalid expression, assumed zero
      C:\Users\Raul\Desktop\Tuts GM\gamemodes\Tuts.pwn(706) : fatal error 107: too many error messages on one line
      Compilation aborted.
      Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase

      6 Errors.
      [Finished in 2.4s with exit code 1]
      [cmd: ['pawncc.exe', '-i includes', 'C:\\Users\\Raul\\Desktop\\Tuts GM\\gamemodes\\Tuts.pwn', '-;+']]
      [dir: C:\Users\Raul\Desktop\Tuts GM\gamemodes]
      [path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\] 
    • By MariaN47
      C:\Users\buloi\OneDrive\Desktop\Gamemode 0\gamemodes\gamemode.pwn(124) : error 010: invalid function or declaration
      C:\Users\buloi\OneDrive\Desktop\Gamemode 0\gamemodes\gamemode.pwn(132) : error 010: invalid function or declaration
      C:\Users\buloi\OneDrive\Desktop\Gamemode 0\gamemodes\gamemode.pwn(731) : error 017: undefined symbol "leave_derby"
      C:\Users\buloi\OneDrive\Desktop\Gamemode 0\gamemodes\gamemode.pwn(733) : warning 217: loose indentation
      C:\Users\buloi\OneDrive\Desktop\Gamemode 0\gamemodes\gamemode.pwn(751) : error 017: undefined symbol "leave_derby"
      C:\Users\buloi\OneDrive\Desktop\Gamemode 0\gamemodes\gamemode.pwn(759) : error 017: undefined symbol "leave_derby"
      C:\Users\buloi\OneDrive\Desktop\Gamemode 0\gamemodes\gamemode.pwn(767) : error 017: undefined symbol "i"
      C:\Users\buloi\OneDrive\Desktop\Gamemode 0\gamemodes\gamemode.pwn(770) : error 017: undefined symbol "i"
      C:\Users\buloi\OneDrive\Desktop\Gamemode 0\gamemodes\gamemode.pwn(771) : error 017: undefined symbol "leave_derby"
      Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase
      //linia 124function leave_derby(playerid){ SetPlayerVirtualWorld(playerid, 0); SetVehicleVirtualWorld(derbyVehicle[playerid, 1337); SpawnPlayer(playerid); inDerby[playerid] = 0; derbyPlayers --; derbyVehicle[playerid] = 0; //131 return 1; } if(derbyStatus == 0) { if(derbyTime > 0) { derbyTime --; if(derbyPlayers <1){ //< 2 foreach(new i : Player){ //linia 731 if(inDerby[i] == 1) leave_derby(i), SendClientMessage(i, COLOR_YELLOW, "Prea putini jucatori."); } derbyStatus = 0; derbyTime = 30; } else { derbyStatus = 1; derbyTime = 60; SendDerby(COLOR_YELLOW, "Runda a inceput!"); foreach(new i : Player){ if(inDerby[i]) TogglePlayerControllable(i, 1); } } } } if(derbyStatus == 1) { if(derbyTime > 0) { derbyTime --; if(derbyTime == 0) { foreach(new i : Player) { //linia 751 if(inDerby[i] == 1) leave_derby(i); } derbyStatus = 0; derbyTime = 30; } else { if(derbyPlayers == 0) { // == 1 foreach(new i : Player){ //linia 759 if(inDerby[i] == 1) leave_derby(i), SendClientMessage(i, COLOR_YELLOW, "Felicitari ai castigat!"); } derbyStatus = 0; derbyTime = 30; } } } } //linia 767 if(inDerby[i] == 1) { if(derbyStatus == 1) { new Float:Pozitie[3]; //linia 770 GetPlayerPos(i, Pozitie[0], Pozitie[1], Pozitie[2]); // 771 if(Pozitie[2] < 150.49609) leave_derby(i); } } return 1; }  
  • 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.