Jump to content
  • 0

Putin ajutor cu tab



4 answers to this question

Recommended Posts


Cand se logheaza jucatorul pui la final asa:

if( AdminLevel[ playerid ] > 0 ) return SetPlayerColor( playerid, 0xFF0000FF );

AdminLevel[ playerid ] - inlocuiesti cu variabila din sistemul tau de administrare care verifica nivelul jucatorului.

Link to comment
Share on other sites

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

    • By CenzoR
      Salut, ma poate ajuta cineva cum se face exact chestia aia cand intri si iesi dintr-un biz/casa, sa-ti dea freeze pana se incarca mappingul?
    • By Alex969
      #include <a_samp>
      #include <a_mysql>
      #include <streamer>
      #include <playerzone>
      #include <beaZone>
      #include <foreach>
      #include <sscanf2>
      #include <AutoAFK>
      #include <mSelection>
      #include <days>
      #include <a_http>
      #include <md5>
      #include <playerprogress>
      #include <YSI\y_hooks>
      #include <YSI\y_iterate>
      #include <YSI\y_commands>
      #include <YSI\y_master>
      #include <fly>
      #include <YSI\y_timers>
      C:\Users\alex\Downloads\Secret Gamemode\Secret Gamemode\gamemodes\secret.pwn(15) : fatal error 100: cannot read from file: "AutoAFK"
      Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase
      1 Error.
      [Finished in 1.3s]
      Ce pot face sa rezolv eroarea asta?nu o pot rezolva deloc..
      M am uitat in folderul include de la compiler si am AutoAFK.inc ...
    • By CenzoR
      gmfrom0\gamemodes\from0.pwn(32) : fatal error 100: cannot read from file: "../modules/colorss.pwn"
      am aceasta eroare.. din ce cauza este? nu o pot rezolva deloc, ma poate ajuta cineva?
      m-am uitat si in folderul modules, nu gasesc niciun pwn cu colorss
    • By Tefyuu
      CMD:aduty(playerid, params[])
                      new type[25];
      28971 :        if(sscanf(params, "s[25]", type)) return SendClientMessage(playerid, -1,"Syntax: /aduty <on/off>");
              if(strcmp(type, "off", true) == 0)
      28979:                    SetPlayerArmour(playerid, 0); 
                          SetPlayerHealth(playerid, 100); 
                          SetPlayerSkin(playerid, 25); 
      28985:          SendClientMessageToAll(COLOR_RED, "((AdmBot: Unul dintre administratori este acum off duty.))"); 
              else if(strcmp(type, "on", true) == 0)
                          GivePlayerWeapon(playerid, 38, 9999); 
                          SetPlayerArmour(playerid, 9999999); 
                          SetPlayerHealth(playerid, 9999999); 
                          SetPlayerSkin(playerid, 217); 
      29001:            SendClientMessageToAll(COLOR_GREEN, "((AdmBot: Unul dintre administratori este acum on duty.))"); 
              SendClientMessage(playerid, COLOR_RED, "Eroare: Nu esti un Administrator.");
          return 1;
      in aceasta comanda primesc erorile astea 
      C:\Users\tefyuu\Desktop\burned.ro\gamemodes\wa-rpg.pwn(28971) : warning 217: loose indentation
      C:\Users\tefyuu\Desktop\burned.ro\gamemodes\wa-rpg.pwn(28979) : warning 217: loose indentation
      C:\Users\tefyuu\Desktop\burned.ro\gamemodes\wa-rpg.pwn(28985) : warning 217: loose indentation
      C:\Users\tefyuu\Desktop\burned.ro\gamemodes\wa-rpg.pwn(29001) : warning 217: loose indentation
    • By Rby Robert
      Am un gamemode de la un prieten la care a lucrat el acum mi la dat mie sa lucrez eu pe el am facut ceea ce am stiu am dar ma bate ceva cand dau in /v nu imi apare despawn car ma poate ajuta cineva aici aveti comanda 
      CMD:v(playerid, params[])
          if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa te loghezi prima data.");
          if(VehiclesCount(playerid) == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Nu ai vehicule personale.");
          new str2[1500],str[200],id[50],vip[30],title[35],rainbow[30],premium[30], stage[30];
          strcat(str2, "Model\tStatus\tUpgrades\tID\n");
          for(new x = 0; x < PlayerInfo[playerid][pSlots]; x++) {
              if(PlayerInfo[playerid][pCarKey][x] != 0) {
                  new ide = veh_ArrayID(PlayerInfo[playerid][pCarKey][x]);
                  if((playerCarsSpawned[playerid][x]) == true ) format(id,50,"%d",CarInfo[ide][cInGameID]); else format(id,50,"{ffffff}not spawned");
                  if(CarInfo[ide][cVip] == true) format(vip, 30, "{FFE802}[VIP] "); else format(vip,3,"");
                  if(CarInfo[ide][cHaveRainBow] == true) format(rainbow, 30, "{791DD5}[R] "); else format(rainbow,3,"");
                  if(CarInfo[ide][cPremium] == 1) format(premium, 30, "{F28644}[P] "); else format(premium,3,"");
                  if(CarInfo[ide][cStage] > 0) format(stage, sizeof(stage), "{509AE4}[S: %d/3]", CarInfo[ide][cStage]); else format(stage,3,"");
                  format(str, 200, "%s\t%s\t%s%s%s%s \t%s\n",aVehicleNames[playerCarsModel[playerid][x] - 400],(playerCarsSpawned[playerid][x]) ? ("{33AA33}[spawned]") : ("{9D0000}[despawned]"),vip,rainbow,premium,stage,id);
              else strcat(str2,"\n[ empty ]\n");
          format(title,sizeof title,"Your vehicles [%d/%d]",VehiclesCount(playerid),PlayerInfo[playerid][pSlots]);
          ShowPlayerDialog(playerid,DIALOG_VEHSPAWN,DIALOG_STYLE_TABLIST_HEADERS, title, str2, "Select","Exit");
          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.