Jump to content

[PAWNO]Shortcuts


IstuntmanI

Recommended Posts

Lista de scurtaturi in PAWNO

Lista creata de [sRC]stuntman ( eu )

Am creat aceasta lista pentru cei care n-au auzit de ele, de exemplu, eu de multe ori le zic la unii cum sa dea TAB cand intreaba cum dau mai multe linii in fata.


CTRL + A = selecteaza tot ce este in document

CTRL + S = salveaza documentul

CTRL + Z = undo

CTRL + X = cut

CTRL + C = copy

CTRL + V = paste

CTRL + G = search line number

CTRL + H = replace lines

CTRL + F = search text

CTRL + Y = sterge linia la care esti

CTRL + N = inchide fila actuala si deschide new.pwn

CTRL + O = deschide o alta fila

CTRL + M || ENTER = creaza o noua linie

F5 || F6 = compileaza documentul

CTRL + T || DELETE = sterge caracterul din fata la chestia care pulseaza

CTRL + Space = cand scrii o parte dintr-o functie, apesi asta si iti da variante de functii care seamana.

TAB = da de 4 ori ( 4 space-uri ) in fata scrisul.

SHIFT + TAB = opusul lui TAB.

CTRL + Rotita = schimbi pozitia mai repede

CTRL + SHIFT + [ 1 - 9 ] = salvezi linia

CTRL + [ 1 - 9 ] = mergi la linia salvata

CTRL + [ LEFT/RIGHT | <- / -> ] = sari pana la caracterele speciale "(", ")", ".", " ' ", "`", " " ( spatiu )


PS: Daca mai stiti scurtaturi postati aici. ( poate am mai uitat si eu cateva )

Link to comment
Share on other sites

Guest farse

tinand ctrl si miscand roticica schimba pozitia mai repede


CTRL+Roticica - schimbi pozitia mai repede

CTRL+SFIFT+[1-9] - salvezi linia

CTRL+[1-9] - mergi la linia salvata

Link to comment
Share on other sites

tinand ctrl si miscand roticica schimba pozitia mai repede


CTRL+Roticica - schimbi pozitia mai repede

Am uitat de asta.

CTRL+SFIFT+[1-9] - salvezi linia

CTRL+[1-9] - mergi la linia salvata

Si de astea, dar nu le-am bagat in seama.

Le adaug imediat in primul post.

EDIT: Adaugate.

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
  • 5 months later...
  • 2 months later...
  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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