Jump to content

Narkis108

Membru
  • Posts

    47
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Narkis108

  1. Salut, tocmai ce mi-am achizitionat un Windows Server 2016 si cand incerc sa deschid un server pe windows si dau ip-ul altcuiva nu ii merge, de ce?
    -Am dezactivat FireWall-ul si tot nu merge

    Asta imi scrie la canyouseeme (I could not see your service on xxxxxxxxx on port (25565 )

  2. fatal error 111: user error: Please include <a_npc> or <a_samp> first.

    De ce arata asta?
    Am pus in include-uri a_npc si a_samp

    #include <a_samp>               //1
    #include <a_mysql>              //2
    #include <streamer>             //3
    #include <foreach>              //4
    #include <sscanf2>              //5
    #include <zcmd>                 //6
    #include <mSelection>           //7
    #include <a_zones>              //8
    #include <beaZone>              //9
    #include <timerfix>             //10
    #include <a_actor>              //11
    #include <fly>                  //12
    #include <crashdetect>          //13
    #include <timestamptodate>      //14
    #include <geolocation>          //15
    #include <a_http>               //16
    #include <firework>             //17
    #include <playerprogress>       //18
    #include <playerzone>           //19
    #include <YSI\y_hooks>          //20
    #include <YSI\y_timers>

     

  3. //Asta poti sa o pui pe la inceput

    new EnabledSpeed [ MAX_PLAYERS ]; 

    //Asta in OnPlayerConnect

    public OnPlayerConnect(playerid) {

        EnabledSpeed [ playerid ] = 0;

    //Asta o bagi in OnPlayerKeyStateChange

    if(EnabledSpeed [ playerid ] == 1 && PlayerInfo[playerid][pAdmin] >= 5) {
           if(newkeys & KEY_FIRE && IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
                if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
                    new Float:x, Float:y, Float:z;
                    GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
                    SetVehicleVelocity(GetPlayerVehicleID(playerid), x * 3, y * 3, z * 3);
                }

     

    Sper ca te-am ajutat :D

  4.   Loaded.
     Loading plugin: streamer.dll
      Failed.
     Loaded 1 plugins.
    
    
    Ban list
    --------
     Loaded: samp.ban
    
    
    Started server on port: 7777, with maxplayers: 50 lanmode is ON.
    
    
    Filterscripts
    ---------------
      Loaded 0 filterscripts.
    
    Script[gamemodes/BigZoneGM.amx]: Run time error 19: "File or function is not found"
    Number of vehicle models: 0

    Are cineva idee de ce nu porneste?
    Este conectat la baza de date

  5. Acum 31 minute, Banditul a spus:

    Nu poti invata asa usor asta. Iti ia timp sa intelegi, sa practici, daca te astepti sa inveti sa scriptezi in 1 saptamana poti sa iti iei gandu.

    Cum a zis SherKan cel mai bine inveti practicand

    am încercat sa învăț practicând sau "furând meserie" dar nu am reușit niciodată sa repar un bug iar la faza cu învățatul, poate fi si o lună si doua si trei, nu contează asta 

  6. Salutare, am un bug la clan, cand pun clantag-ul si dau relog imi dispare tag-ul

    Acesta este codul.

    	if(dialogid == DIALOG_CLAN_TAG)
    	{
    			if(!response)
    			{
    				ShowPlayerDialog(playerid, DIALOG_CLAN, DIALOG_STYLE_LIST, "Clan", "Clan Help\nClan Members\nClan Settings\nClan Tag\nClan Safebox\nClan Vehicles", "Select", "Close");
    			}
    			else
    			{
    				if(PlayerInfo[playerid][pClan] >= 1)
    				{
    					new szName[25],str111[256],str222[256],str333[256],strings[128];
    					switch(listitem)
    					{
    						case 0:
    						{
    							format(szName, sizeof(szName), "%s", PlayerInfo[playerid][pNormalName]);
    							SetPlayerName(playerid, PlayerInfo[playerid][pNormalName]);
    							PlayerInfo[playerid][pClanTag] = 0;
                                mysql_format(SQL, str111, sizeof(str111), "UPDATE users SET `ClanTag`='0' WHERE `name`='%s'", PlayerInfo[playerid][pNormalName]);
    	       				 	mysql_tquery(SQL,str111,"","");
    						}
    						case 1:
    						{
    							format(szName, sizeof(szName), "%s%s", ClanInfo[PlayerInfo[playerid][pClan]][cClanTag], PlayerInfo[playerid][pNormalName]);
                                SetPlayerName(playerid, szName);
    							PlayerInfo[playerid][pClanTag] = 1;
                                mysql_format(SQL,str222, sizeof(str222), "UPDATE users SET `ClanTag`='1' WHERE `name`='%s'", PlayerInfo[playerid][pNormalName]);
    	       				 	mysql_tquery(SQL,str222,"","");
    						}
    						case 2:
    						{
    							format(szName, sizeof(szName), "%s%s", PlayerInfo[playerid][pNormalName], ClanInfo[PlayerInfo[playerid][pClan]][cClanTag]);
                                SetPlayerName(playerid, szName);
    							PlayerInfo[playerid][pClanTag] = 2;
                                mysql_format(SQL,str333, sizeof(str333), "UPDATE users SET `ClanTag`='2' WHERE `name`='%s'", PlayerInfo[playerid][pNormalName]);
    	       				 	mysql_tquery(SQL,str333,"","");
    						}
    					}
    					format(strings,sizeof(strings),"Your nickname is now: %s",szName);
    					SendClientMessage(playerid, COLOR_GENANNOUNCE, strings);
    				}
    				else
    				{
    					hidePlayerDialog(playerid);
    				}
    			}
    		}

     

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