Jump to content

Allz0r

Membru
  • Posts

    29
  • Joined

  • Last visited

    Never

Posts posted by Allz0r

  1. Ok, am luat FS cashbox dar am o problema cu acest Fs.

    Problema consta:

    - fs nu are comanda /locate si doar goto, Si acest /goto din fs l-am schimbat eu in locate.

    - Merge un joc la al2lea se scrica.

    Poza: mcf4mx.png

     /*===================================================================================================*\
    ||===================================================================================================||
    ||	              ________    ________    ___    _    ______     ______     ________                 ||
    ||	        \    |   _____|  |  ____  |  |   \  | |  |   _  \   |  _   \   |  ____  |    /           ||
    ||	======== \   |  |_____   | |____| |  | |\ \ | |  |  | |  |  | |_|  /   | |____| |   / ========   ||
    ||	          |  | _____  |  |  ____  |  | | \ \| |  |  | |  |  |  _  \    |  ____  |  |             ||
    ||	======== /    ______| |  | |    | |  | |  \ \ |  |  |_|  |  | |  \ \   | |    | |   \ ========   ||
    ||	        /    |________|  |_|    |_|  |_|   \__|  |______/   |_|   \_|  |_|    |_|    \           ||
    ||                                                                                                   ||
    ||===================================================================================================||
    ||                               Created April 28th 2008 by =>Sandra<=                              ||
    ||                                    Do NOT remove any credits!!                                    ||
    \*===================================================================================================*/
    
    #include <a_samp>
    
    /*
    Difficulty Modes:
    1 = Checkpoint appears on location of the cashbox
    2 = Only the camera of players will be looking to cashbox location. They can review using /cashboxhint
    */
    
    //CONFIGURATION::::::::
    #define CashboxModel 1210   // Briefcase-model
    #define MinCashboxValue 20000
    #define MaxCashboxValue 50000
    #define ValuedropPerSecond 0
    #define DifficultyMode 2
    new UseTextdraw = 0;
    //END OF CONFIGURATION
    
    new CashboxPickup;
    new CashboxOwner = INVALID_PLAYER_ID;
    new CashboxValue;
    new Float:CashboxX;
    new Float:CashboxY;
    new Float:CashboxZ;
    new IsGameStarted;
    new DropValueTimer;
    new Text:ValueText;
    new IsTextdrawCreated;
    new vps = ValuedropPerSecond;
    new mode = DifficultyMode;
    new IsCashboxPickedUp;
    
    new Float:DropLocation[3] =
    {1677.1796,1447.8167,10.7823};
    
    new Float:CashboxLocations[][3] =
    {
    	{2227.74, 1516.43, 10.82},
    	{-724.44, 1402.81, 13.07},
    	{-1940.61, 1086.14, 53.09},
    	{-2344.37, -459.59, 80.01},
    	{-1674.65, -543.03, 14.14},
    	{-2415.30, -2142.08, 52.37},
    	{-1527.47, -2291.62, -5.63},
    	{-1111.05, -2470.04, 76.59},
    	{-288.23, -2163.67, 28.63},
    	{-376.27, -2583.97, 138.17},
    	{378.32, -1885.70, 2.05},
    	{1120.86, -2065.82, 74.42},
    	{1583.25, -2286.55, 13.53},
    	{2718.67, -2385.16, 13.63},
    	{2744.79, -1944.55, 17.32},
    	{2041.71, -1715.58, 13.54},
    	{2771.79, -1354.51, 50.00},
    	{1102.96, -1092.89, 28.46},
    	{727.73, -1276.13, 13.64},
    	{755.31, -591.31, 18.01},
    	{360.91, -110.02, 1.22},
    	{-557.35, -541.28, 25.52},
    	{-273.04, -955.98, 38.30},
    	{1242.36, 327.17, 19.75},
    	{2791.64, 2225.64, 14.66},
    	{-1955.01, -986.97, 35.89},
    	{-2108.89, -2376.97, 30.62},
    	{1853.35, 2045.54, 10.85},
    	{2478.85, -1437.22, 25.49},
    	{-2241.50, 2462.93, 4.98},
    	{703.36, 267.78, 21.44},
    	{-599.09, -1080.95, 23.66},
    	{-2677.68, 1503.98, 2.07},
    	{2582.18, -2115.22, 1.11},
    	{-1954.97, -986.27, 35.89},
    	{541.41, 830.33, -39.44},
    	{-2876.66, 292.77, 6.96},
    	{-2192.16, 2409.51, 4.95},
    	{2615.91, -1730.39, 6.24},
    	{-529.81, -991.29, 24.55},
    	{-1048.33, -1306.72, 128.50},
    	{1227.20, 2584.68, 10.82},
    	{1016.48, 1411.63, 10.82},
    	{-1593.62, 802.54, 6.82},
    	{-2238.23, -2478.96, 31.19},
    	{917.43, 2402.92, 10.82},
    	{1312.97, -1965.60, 29.46},
    	{-120.59, -1531.31, 3.07},
    	{-2508.68, -53.19, 25.65},
    	{-2762.04, 105.18, 6.99},
    	{1367.53, 194.54, 19.55},
    	{-2655.83, -102.70, 3.99},
    	{2161.85, -102.76, 2.75},
    	{2535.77, 1342.55, 10.82},
    	{-2059.10, 890.89, 61.85},
    	{1188.14, 231.38, 19.56},
    	{1088.81, 1073.79, 10.83},
    	{422.96, 2539.45, 16.52},
    	{-227.49, 2709.91, 62.98},
    	{-347.38, 1581.21, 76.30},
    	{-208.08, 1127.93, 19.74},
    	{33.24, 1155.21, 19.69},
    	{1582.07, -2691.56, 6.12},
    	{1715.25, -1912.01, 13.56},
    	{286.36, -1145.15, 80.91}
    };
    
    public OnFilterScriptInit()
    {
    	print("--------------------------------------");
    	print("  Cashbox Filterscript by =>Sandra<=  ");
    	print("--------------------------------------");
    	if(mode == 1 || mode == 2)
    	{
    		SetTimer("StartNewCashboxGame", 30000, 0);
    	}
    	else
    	{
            print("============================");
    		print("          Error:            ");
    		print("  Can't start CashboxGame   ");
    		print(" Reason: Invalid Difficulty ");
    		print("============================");
    	}
    	return 1;
    }
    
    public OnFilterScriptExit()
    {
        if(IsGameStarted == 1)
    	{
    	    for(new i; i<MAX_PLAYERS; i++)
    	    {
    	        if(mode == 1)
    	        {
    	    		DisablePlayerCheckpoint(i);
    			}
    		}
    	}
    	DestroyPickup(CashboxPickup);
    	if(IsTextdrawCreated == 1)
    	{
    		TextDrawHideForAll(ValueText);
    		TextDrawDestroy(ValueText);
    		IsTextdrawCreated = 0;
    	}
    	return 1;
    }
    
    public OnPlayerConnect(playerid)
    {
    	if(IsGameStarted == 1)
    	{
    		if(CashboxOwner == INVALID_PLAYER_ID)
    		{
    		    if(mode == 1)
          		{
    		        SetPlayerCheckpoint(playerid, CashboxX, CashboxY, CashboxZ, 1);
    			}
    		}
    	}
    	return 1;
    }
    
    public OnPlayerDisconnect(playerid, reason)
    {
    	if(playerid == CashboxOwner)
    	{
    	    new str[128], pName[MAX_PLAYER_NAME];
    	    GetPlayerPos(playerid, CashboxX, CashboxY, CashboxZ);
    	    GetPlayerName(playerid, pName, sizeof(pName));
    	    format(str, 128, "Detinatorul servietei %s (ID: %d) a iesit de pe server si a scapat servieta!", pName, playerid);
    	    SendClientMessageToAll(0xFFD700AA, str);
    		CashboxPickup = CreatePickup(1210, 3, CashboxX, CashboxY, CashboxZ);
    		CashboxOwner = INVALID_PLAYER_ID;
    		if(mode == 1)
    		{
    	        for(new i; i<MAX_PLAYERS; i++)
    			{
    			    if(IsPlayerConnected(i))
    			    {
    			    	SetPlayerCheckpoint(i, CashboxX, CashboxY, CashboxZ, 1);
    				}
    			}
    		}
    	}
    	return 1;
    }
    
    public OnPlayerDeath(playerid, killerid, reason)
    {
    	if(playerid == CashboxOwner)
    	{
    	    new str[128], pName[MAX_PLAYER_NAME];
    	    GetPlayerPos(playerid, CashboxX, CashboxY, CashboxZ);
    	    GetPlayerName(playerid, pName, sizeof(pName));
    	    format(str, 128, "Detinatorul servietei %s (ID: %d) a murit si a scapat servieta!", pName, playerid);
    	    SendClientMessageToAll(0xFFD700AA, str);
    		CashboxPickup = CreatePickup(1210, 3, CashboxX, CashboxY, CashboxZ);
    
    		CashboxOwner = INVALID_PLAYER_ID;
    		if(mode == 1)
    		{
    	        for(new i; i<MAX_PLAYERS; i++)
    			{
    			    if(IsPlayerConnected(i))
    			    {
    			    	SetPlayerCheckpoint(i, CashboxX, CashboxY, CashboxZ, 1);
    				}
    			}
    		}
    	}
    	return 1;
    }
    
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    	if(strcmp(cmdtext, "/servieta", true)==0)
    	{
    	    if(mode == 2)
    	    {
    	        if(IsCashboxPickedUp == 1)
    	        {
    	            new str[128];
    	            new pName[MAX_PLAYER_NAME];
    	            GetPlayerName(CashboxOwner, pName, 24);
    	            format(str, 128, "%s (ID: %d) a luat servieta si o duce la destinatie!", pName, CashboxOwner);
    	            SendClientMessage(playerid, 0xFF0000AA, str);
    			}
    			else
    			{
    		        new randX = -100+random(200);
    				new randY = -100+random(200);
    				SetPlayerCameraPos(playerid, CashboxX+randX, CashboxY+randY, (CashboxZ+60));
    				SetPlayerCameraLookAt(playerid, CashboxX, CashboxY, CashboxZ);
    		        TogglePlayerControllable(playerid, 0);
    		        SetTimerEx("ResetCam", 10000, 0, "i", playerid);
    			}
    		}
    		return 1;
    	}
        if(strcmp(cmdtext, "/locate", true)==0)
    	{
    	    SetPlayerPos(playerid, 2227.74, 1516.43, 10.82);
    		return 1;
    	}
    	return 0;
    }
    
    public OnPlayerEnterCheckpoint(playerid)
    {
    	if(playerid == CashboxOwner)
    	{
    	    PlayerPlaySound(playerid, 1054, 0, 0, 0);
    	    KillTimer(DropValueTimer);
    	    new str[128], pName[MAX_PLAYER_NAME];
    		if(mode == 1)
    		{
    	    	DisablePlayerCheckpoint(playerid);
    		}
    	    CashboxOwner = INVALID_PLAYER_ID;
    		GetPlayerName(playerid, pName, sizeof(pName));
    		format(str, 128, "%s (ID: %d) a dus servieta la destinatie! El/Ea a castigat $%d", pName, playerid, CashboxValue);
    		SendClientMessageToAll(0xFFD700AA, str);
    		GivePlayerMoney(playerid, CashboxValue);
            format(str, 128, "~y~Felicitari! ~n~ Ai castigat ~n~~g~$%d", CashboxValue);
    		GameTextForPlayer(playerid, str, 4000, 3);
    		SendClientMessageToAll(0xFFD700AA, "Un nou joc va incepe in 10 minute!");
    		SetTimer("StartNewCashboxGame", 600000, 0);
    		IsGameStarted = 0;
    		if(IsTextdrawCreated == 1)
    		{
    			TextDrawDestroy(ValueText);
    			IsTextdrawCreated = 0;
    		}
    	}
    	return 1;
    }
    
    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    	if(pickupid == CashboxPickup)
    	{
    	    PlayerPlaySound(playerid, 1150, 0, 0, 0);
    	    new str[128], pName[MAX_PLAYER_NAME];
    	    DestroyPickup(CashboxPickup);
    	    IsCashboxPickedUp = 1;
    		CashboxOwner = playerid;
    		GetPlayerName(playerid, pName, sizeof(pName));
    		format(str, 128, "%s (ID: %d) a luat servieta! Omoara-l inainte sa o duca la destinatie!", pName, playerid);
    		SendClientMessageToAll(0xFFD700AA, str);
    		if(mode == 1)
    		{
    		    for(new i; i<MAX_PLAYERS; i++)
    		    {
    		        DisablePlayerCheckpoint(i);
    			}
    		}
    		SetPlayerCheckpoint(playerid, DropLocation[0], DropLocation[1], DropLocation[2], 3);
    	}
    	return 1;
    }
    
    
    forward StartNewCashboxGame();
    public StartNewCashboxGame()
    {
        IsGameStarted = 1;
    	new str[128];
    	new rand = random(sizeof(CashboxLocations));
    	CashboxValue = MinCashboxValue+random(MaxCashboxValue-MinCashboxValue);
        CashboxPickup = CreatePickup(1210, 3, CashboxLocations[rand][0], CashboxLocations[rand][1], CashboxLocations[rand][2]);
        CashboxX = CashboxLocations[rand][0];
        CashboxY = CashboxLocations[rand][1];
        CashboxZ = CashboxLocations[rand][2];
        format(str, 128, "O noua servieta, plina cu %d dolari, se afla undeva in San Andreas!", CashboxValue);
        SendClientMessageToAll(0xFFD700AA, str);
        if(vps > 0)
        {
    	    format(str, 128, "Valoarea acestei serviete va scadea cu $%d pe secunda!", ValuedropPerSecond);
    	    SendClientMessageToAll(0xFFD700AA, str);
    	}
        SendClientMessageToAll(0xFFD700AA, "Obiectiv: Ia servieta inainte ca altcineva sa intre in posesia ei!");
    	for(new i; i<MAX_PLAYERS; i++)
    	{
    	    if(IsPlayerConnected(i))
    	    {
    	        if(mode == 1)
    			{
    			    SetPlayerCheckpoint(i, CashboxLocations[rand][0], CashboxLocations[rand][1], CashboxLocations[rand][2], 1);
    			}
    			else if(mode == 2)
    			{
    			    new randX = -100+random(200);
    			    new randY = -100+random(200);
    				SetPlayerCameraPos(i, CashboxX+randX, CashboxY+randY, (CashboxZ+60));
    				SetPlayerCameraLookAt(i, CashboxX, CashboxY, CashboxZ);
    			    TogglePlayerControllable(i, 0);
    			    SetTimerEx("ResetCam", 8000, 0, "i", i);
    			    SendClientMessage(i, 0x0E68CAA, "Puteti vedea din nou aceasta locatie folosind /servieta");
    			    GameTextForPlayer(i, "~y~Hint:", 8000, 4);
    			}
    		}
    	}
    	DropValueTimer = SetTimer("DropCashboxValue", 1000, 1);
    }
    
    forward DropCashboxValue();
    public DropCashboxValue()
    {
    	if(IsTextdrawCreated == 1)
    	{
    		TextDrawDestroy(ValueText);
    		IsTextdrawCreated = 0;
    	}
    	new TextString[40];
    	if(CashboxValue > 0)
    	{
    	    CashboxValue -= ValuedropPerSecond;
    	    format(TextString, 40, "~y~Valoare Servieta: ~n~~y~$%d", CashboxValue);
    	}
    	if(CashboxValue <= 0)
    	{
    		CashboxValue = 0;
    	    SendClientMessageToAll(0xFFD700AA, "Servieta numai are nici-o valoare!");
    	    format(TextString, 40, "~y~Valoare Servieta: ~n~~r~$%d", CashboxValue);
    	    KillTimer(DropValueTimer);
    	}
    	if(UseTextdraw == 1)
    	{
    		ValueText = TextDrawCreate(540, 410, TextString);
    		IsTextdrawCreated = 1;
    		TextDrawLetterSize(ValueText, 0.4, 1.2);
    		TextDrawSetShadow(ValueText, 0);
    		TextDrawUseBox(ValueText, 1);
    		TextDrawBoxColor(ValueText, 0x000000AA);
    		TextDrawShowForAll(ValueText);
    	}
    }
    
    forward ResetCam(playerid);
    public ResetCam(playerid)
    {
    	SetCameraBehindPlayer(playerid);
    	TogglePlayerControllable(playerid, 1);
    	TogglePlayerSpectating(playerid, 0);
    }
    

  2.  public OnPlayerLogin(playerid,password[])
    {
    	new tmp2[256];
        new string2[64];
    	new playername2[MAX_PLAYER_NAME];
    	new playernamesplit[3][MAX_PLAYER_NAME];
        GetPlayerName(playerid, playername2, sizeof(playername2));
    	split(playername2, playernamesplit, '_');
    	format(string2, sizeof(string2), "Users/%s.ini", playername2);
    	new File: UserFile = fopen(string2, io_read);
    	if ( UserFile )
    	{
    	    new PassData[256];
    	    new keytmp[256], valtmp[256];
    	    fread( UserFile , PassData , sizeof( PassData ) );
    	    keytmp = ini_GetKey( PassData );
    	    if( strcmp( keytmp , "Key" , true ) == 0 )
    		{
    			valtmp = ini_GetValue( PassData );
    			strmid(PlayerInfo[playerid][pKey], valtmp, 0, strlen(valtmp)-1, 255);
    		}
    		if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 )
    		{
    			    new key[ 256 ] , val[ 256 ];
    			    new Data[ 256 ];
    			    while ( fread( UserFile , Data , sizeof( Data ) ) )
    				{
    					key = ini_GetKey( Data );
    					if( strcmp( key , "Level" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLevel] = strval( val ); }
    			    	if( strcmp( key , "AdminLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAdmin] = strval( val ); }
    			    	if( strcmp( key , "HelperLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHelper] = strval( val ); }
    			        if( strcmp( key , "DonateRank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDonateRank] = strval( val ); }
    			        if( strcmp( key , "UpgradePoints" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][gPupgrade] = strval( val ); }
    			        if( strcmp( key , "ConnectedTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pConnectTime] = strval( val ); }
    			        if( strcmp( key , "Registered" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pReg] = strval( val ); }
    			        if( strcmp( key , "Sex" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSex] = strval( val ); }
    			        if( strcmp( key , "Age" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAge] = strval( val ); }
    			        if( strcmp( key , "Origin" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pOrigin] = strval( val ); }
    			        if( strcmp( key , "CK" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCK] = strval( val ); }
    			        if( strcmp( key , "Muted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMuted] = strval( val ); }
    			        if( strcmp( key , "MuteTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMuteTime] = strval( val ); }
    			        if( strcmp( key , "Respect" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pExp] = strval( val ); }
    			        if( strcmp( key , "Money" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCash] = strval( val ); }
    			        if( strcmp( key , "Bank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAccount] = strval( val ); }
    			        if( strcmp( key , "Crimes" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCrimes] = strval( val ); }
    			        if( strcmp( key , "Kills" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pKills] = strval( val ); }
    			        if( strcmp( key , "Deaths" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDeaths] = strval( val ); }
    			        if( strcmp( key , "Arrested" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pArrested] = strval( val ); }
    			        if( strcmp( key , "WantedDeaths" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWantedDeaths] = strval( val ); }
    			        if( strcmp( key , "Phonebook" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPhoneBook] = strval( val ); }
    			        if( strcmp( key , "LottoNr" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLottoNr] = strval( val ); }
    			        if( strcmp( key , "Fishes" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFishes] = strval( val ); }
    			        if( strcmp( key , "BiggestFish" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBiggestFish] = strval( val ); }
    			        if( strcmp( key , "Job" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJob] = strval( val ); }
    			        if( strcmp( key , "Paycheck" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPayCheck] = strval( val ); }
    			        if( strcmp( key , "HeadValue" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHeadValue] = strval( val ); }
    			        if( strcmp( key , "Jailed" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJailed] = strval( val ); }
    			        if( strcmp( key , "JailTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJailTime] = strval( val ); }
    			        if( strcmp( key , "Materials" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMats] = strval( val ); }
    			        if( strcmp( key , "Drugs" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDrugs] = strval( val ); }
    			        if( strcmp( key , "Leader" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLeader] = strval( val ); }
    			        if( strcmp( key , "Member" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMember] = strval( val ); }
    			        if( strcmp( key , "FMember" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFMember] = strval( val ); }
    			        if( strcmp( key , "Rank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRank] = strval( val ); }
    			        if( strcmp( key , "Char" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pChar] = strval( val ); }
    			        if( strcmp( key , "ContractTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pContractTime] = strval( val ); }
    			        if( strcmp( key , "DetSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDetSkill] = strval( val ); }
    			        if( strcmp( key , "SexSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSexSkill] = strval( val ); }
    			        if( strcmp( key , "BoxSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBoxSkill] = strval( val ); }
    			        if( strcmp( key , "LawSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLawSkill] = strval( val ); }
    			        if( strcmp( key , "MechSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMechSkill] = strval( val ); }
    			        if( strcmp( key , "JackSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJackSkill] = strval( val ); }
    			        if( strcmp( key , "CarSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCarSkill] = strval( val ); }
    			        if( strcmp( key , "NewsSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pNewsSkill] = strval( val ); }
    			        if( strcmp( key , "DrugsSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDrugsSkill] = strval( val ); }
    			        if( strcmp( key , "CookSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCookSkill] = strval( val ); }
    			        if( strcmp( key , "FishSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFishSkill] = strval( val ); }
    			        if( strcmp( key , "pSHealth" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSHealth] = floatstr( val ); }
    			        if( strcmp( key , "pHealth" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHealth] = floatstr( val ); }
    			        if( strcmp( key , "Int" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pInt] = strval( val ); }
    			        if( strcmp( key , "Local" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLocal] = strval( val ); }
    			        if( strcmp( key , "Team" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTeam] = strval( val ); }
    			        if( strcmp( key , "Model" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pModel] = strval( val ); }
    			        if( strcmp( key , "PhoneNr" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPnumber] = strval( val ); }
    			        if( strcmp( key , "House" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPhousekey] = strval( val ); }
    			        if( strcmp( key , "Bizz" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPbiskey] = strval( val ); }
    			        if( strcmp( key , "Pos_x" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPos_x] = floatstr( val ); }
    			        if( strcmp( key , "Pos_y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPos_y] = floatstr( val ); }
    			        if( strcmp( key , "Pos_z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPos_z] = floatstr( val ); }
    			        if( strcmp( key , "CarLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCarLic] = strval( val ); }
                        if( strcmp( key , "FlyLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFlyLic] = strval( val ); }
    					if( strcmp( key , "BoatLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBoatLic] = strval( val ); }
    			        if( strcmp( key , "FishLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFishLic] = strval( val ); }
    			        if( strcmp( key , "GunLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGunLic] = strval( val ); }
    			        if( strcmp( key , "Gun1" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGun1] = strval( val ); }
    			        if( strcmp( key , "Gun2" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGun2] = strval( val ); }
    			        if( strcmp( key , "Gun3" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGun3] = strval( val ); }
    			        if( strcmp( key , "Gun4" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGun4] = strval( val ); }
    			        if( strcmp( key , "Ammo1" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAmmo1] = strval( val ); }
    			        if( strcmp( key , "Ammo2" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAmmo2] = strval( val ); }
    			        if( strcmp( key , "Ammo3" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAmmo3] = strval( val ); }
    			        if( strcmp( key , "Ammo4" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAmmo4] = strval( val ); }
    			        if( strcmp( key , "CarTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCarTime] = strval( val ); }
    			        if( strcmp( key , "PayDay" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPayDay] = strval( val ); }
    			        if( strcmp( key , "PayDayHad" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPayDayHad] = strval( val ); }
    			        if( strcmp( key , "CDPlayer" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCDPlayer] = strval( val ); }
    			        if( strcmp( key , "Wins" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWins] = strval( val ); }
    			        if( strcmp( key , "Loses" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLoses] = strval( val ); }
    			        if( strcmp( key , "AlcoholPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAlcoholPerk] = strval( val ); }
    			        if( strcmp( key , "DrugPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDrugPerk] = strval( val ); }
    			        if( strcmp( key , "MiserPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMiserPerk] = strval( val ); }
    			        if( strcmp( key , "PainPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPainPerk] = strval( val ); }
    			        if( strcmp( key , "TraderPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTraderPerk] = strval( val ); }
    			        if( strcmp( key , "Warnings" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWarns] = strval( val ); }
    			        if( strcmp( key , "Tutorial" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTut] = strval( val ); }
    			        if( strcmp( key , "Mission" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMissionNr] = strval( val ); }
    			        if( strcmp( key , "Warnings" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWarns] = strval( val ); }
    			        if( strcmp( key , "FactionWarns" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFACWarns] = strval( val ); }
    			        if( strcmp( key , "Adjustable" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAdjustable] = strval( val ); }
    			        if( strcmp( key , "Fuel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFuel] = strval( val ); }
    			        if( strcmp( key , "Married" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMarried] = strval( val ); }
    			        if( strcmp( key , "MarriedTo" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pMarriedTo], val, 0, strlen(val)-1, 255); }
    			        if( strcmp( key , "Crack" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCrack] = strval( val ); }
    			        //if( strcmp( key , "CabinetTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCabinetTime] = strval( val ); }
    			        if( strcmp( key , "RobSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRobSkill] = strval( val ); }
    					if( strcmp( key , "Rob" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRob] = strval( val ); }
    					if( strcmp( key , "VirWorld" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pVirWorld] = strval( val ); }
    					if( strcmp( key , "pInteriorNr" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pInteriorNr] = strval( val ); }
    					if( strcmp( key , "HouseEntered" , true ) == 0 ) { val = ini_GetValue( Data ); HouseEntered[playerid] = strval( val ); }
    					if( strcmp( key , "Instr" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pKi] = strval( val ); }
    					if( strcmp( key , "Car1" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPcarkey1] = strval( val ); }
    			        if( strcmp( key , "Car2" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPcarkey2] = strval( val ); }
                    }//end while
                    fclose(UserFile);//close the file after everything has been read in the while
    		}
    		else
    		{
    			new loginstring[128];
    			new loginname[64];
    			GetPlayerName(playerid,loginname,sizeof(loginname));
    			format(loginstring,sizeof(loginstring),"\n{FFFFFF}Parola incorecta pentru acest cont - {FF0000}%s\n\n\n\n\n\n{FFFFFF}Introduceti din nou parola corecta.",loginname);
    			ShowPlayerDialog(playerid,12347,DIALOG_STYLE_INPUT,"{FF0000}PAROLA GRESITA",loginstring,"Intra","Iesi");
    	        fclose(UserFile);
    	        gPlayerLogTries[playerid] += 1;
    	        if(gPlayerLogTries[playerid] == 4) { Ban(playerid); }
    	        return 1;
    		}
    		PlayerInfo[playerid][pAdjustable] = 0;
    		ResetPlayerMoney(playerid);
    		ConsumingMoney[playerid] = 1;
    		GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]);
    		CurrentMoney[playerid] = PlayerInfo[playerid][pCash];
    		if(PlayerInfo[playerid][pReg] == 0)
    		{
    		    PlayerInfo[playerid][pExp] = 0;
    			PlayerInfo[playerid][pLevel] = 3;
    			PlayerInfo[playerid][pSHealth] = 0.0;
    			PlayerInfo[playerid][pHealth] = 50.0;
    			PlayerInfo[playerid][pPos_x] = 446.2936;
    			PlayerInfo[playerid][pPos_y] = -18.3816;
    			PlayerInfo[playerid][pPos_z] = 1001.1328;
    			PlayerInfo[playerid][pInt] = 1;
    			PlayerInfo[playerid][pLocal] = 255;
    			PlayerInfo[playerid][pTeam] = 3;
    			PlayerInfo[playerid][pModel] = 183;
    			new randphone = 1000 + random(8999);//minimum 1000  max 9999 //giving one at the start
    			PlayerInfo[playerid][pPnumber] = randphone;
    			PlayerInfo[playerid][pPhousekey] = 255;
    			PlayerInfo[playerid][pPbiskey] = 255;
    			PlayerInfo[playerid][pAccount] = 1000000;
    			PlayerInfo[playerid][pReg] = 1;
    			GivePlayerMoney(playerid, 5000);
    		}
    		if(PlayerInfo[playerid][pLevel] == -999) //autoban
    		{
    			Ban(playerid);
    		}
    		else if(PlayerInfo[playerid][pCK] > 0)
    		{
    		    Kick(playerid);
    		}
    		SendClientMessage(playerid, 0x91C4CFF, "    ");
    		SendClientMessage(playerid, 0x91C4CFF, "    ");
    		SendClientMessage(playerid, 0x91C4CFF, "    ");
    		SendClientMessage(playerid, 0x91C4CFF, "    ");
    		SendClientMessage(playerid, COLOR_LIGHTBLUE, "====================================================================="); // 1
    		format(string2, sizeof(string2), "- Bun venit %s.",playername2); // 2
    		SendClientMessage(playerid, COLOR_WHITE,string2);
    		printf("%s has logged in.",playername2);
    		format(string2, sizeof(string2), "- Current Level %d.",PlayerInfo[playerid][pLevel]); // 5
    		SendClientMessage(playerid, COLOR_WHITE,string2);
    		if (PlayerInfo[playerid][pAdmin] == 1)
    		{
    			format(string2, sizeof(string2), "- Admin level %d.",PlayerInfo[playerid][pAdmin]);
    			SendClientMessage(playerid, COLOR_RED,string2);
    		}
    		if (PlayerInfo[playerid][pAdmin] == 2)
    		{
    			format(string2, sizeof(string2), "- Admin level %d.",PlayerInfo[playerid][pAdmin]);
    			SendClientMessage(playerid, COLOR_RED,string2);
    		}
    		if (PlayerInfo[playerid][pAdmin] == 3)
    		{
    			format(string2, sizeof(string2), "- Admin level %d.",PlayerInfo[playerid][pAdmin]);
    			SendClientMessage(playerid, COLOR_RED,string2);
    		}
    		if (PlayerInfo[playerid][pAdmin] == 4)
    		{
    			format(string2, sizeof(string2), "- Admin level %d.",PlayerInfo[playerid][pAdmin]);
    			SendClientMessage(playerid, COLOR_RED,string2);
    		}
    		if (PlayerInfo[playerid][pAdmin] == 1337)
    		{
    			format(string2, sizeof(string2), "- Admin level %d.",PlayerInfo[playerid][pAdmin]);
    			SendClientMessage(playerid, COLOR_RED,string2);
    		}
    		if (PlayerInfo[playerid][pAdmin] == 1338)
    		{
    			format(string2, sizeof(string2), "- Admin level %d.",PlayerInfo[playerid][pAdmin]);
    			SendClientMessage(playerid, COLOR_RED,string2);
    		}
    		format(string2, sizeof(string2), "- Bani %d$ & %d Respect Points.",PlayerInfo[playerid][pCash], PlayerInfo[playerid][pExp]); // 5
    		SendClientMessage(playerid, COLOR_WHITE,string2);
    		SendClientMessage(playerid, COLOR_LIGHTBLUE, "====================================================================="); // 6
    		SetSpawnInfo(playerid, PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pModel], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z], 1.0, -1, -1, -1, -1, -1, -1);
    		if(gTeam[playerid] == 0)
    		{
    			gTeam[playerid] = 3;
    		}
    		else
    		{
    			gTeam[playerid] = PlayerInfo[playerid][pTeam];
    		}
    		gPlayerLogged[playerid] = 1;
    		SpawnPlayer(playerid);
    		format(tmp2, sizeof(tmp2), "~w~Bun venit ~n~~r~~h~ %s", playername2);
    		DateProp(playerid);
    		GameTextForPlayer(playerid, tmp2, 300, 1);
    		SendClientMessage(playerid, COLOR_YELLOW, motd);
    		if(PlayerInfo[playerid][pFMember] < 255)
    		{
    		    format(tmp2, sizeof(tmp2), "Family MOTD: %s.", FamilyInfo[PlayerInfo[playerid][pFMember]][FamilyMOTD]);
    		    SendClientMessage(playerid, COLOR_YELLOW, tmp2);
    		}
    	}
    	return 1;
    }

  3.  	if(response)
    	{
    		if(dialogid == 12346 || dialogid == 12347)
    		{
    		    if(strlen(inputtext))
    		    {
    				new tmppass[64];
    				strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
    				Encrypt(tmppass);
    				OnPlayerLogin(playerid,tmppass);
    			}
    			else
    			{
    				new loginstring[128];
    				new loginname[64];
    				GetPlayerName(playerid,loginname,sizeof(loginname));
    				format(loginstring,sizeof(loginstring),"\n{FFFFFF}Parola incorecta pentru acest cont - {FF0000}%s\n\n\n\n\n\nIntroduceti din nou parola corecta.",loginname);
    				ShowPlayerDialog(playerid,12347,DIALOG_STYLE_INPUT,"{FF0000}PAROLA GRESITA",loginstring,"Intra","Iesi");
    				gPlayerLogTries[playerid] += 1;
    				if(gPlayerLogTries[playerid] == 4) { Ban(playerid); }
    			}
    		}
    		if(dialogid == 12345)
    		{
    		    if(strlen(inputtext))
    		    {
    				GetPlayerName(playerid, sendername, sizeof(sendername));
    				format(string, sizeof(string), "Users/%s.ini", sendername);
    				new File: hFile = fopen(string, io_read);
    				if (hFile)
    				{
    					SendClientMessage(playerid, COLOR_YELLOW, "That Username is already taken, please choose a different one.");
    					fclose(hFile);
    					return 1;
    				}
    				new tmppass[64];
    				strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
    				Encrypt(tmppass);
    				OnPlayerRegister(playerid,tmppass);
    			}
    			else
    			{
     				new regstring[128];
    				new regname[64];
    				GetPlayerName(playerid,regname,sizeof(regname));
    				format(regstring,sizeof(regstring),"{FFFFFF}Bine ai venit, {FF0000}%s\n{FFFFFF}Tu nu esti inregistrat cu acest cont, va rugam sa va inregistrati.\n\n\n\nScrie parola aici {55FF55}- Va recomandam sa fie de minim 6 caractere.",regname);
    				ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"Inregistrare",regstring,"Inregistrare","Iesi");
    			}
    		}
    	}
    	else
    	{
    		Kick(playerid);
    	}
    	return 1;
    }

    Poftim

  4. acu dupa problema aia am probleme cu /login.

    Deci fericit dupa ce am reusit sa fac aia, intru pe server spune sa dau /register parola, scriu o parola dau /login parola si serveru ia restart si se inchide din cauza unui crash .

     
    
    
    --------------------------
    
    SA-MP Server: 0.3b R2
    
    
    
    Exception At Address: 0x609C1D91
    
    
    
    Registers:
    
    EAX: 0x00000001	EBX: 0x01912894	ECX: 0x00000000	EDX: 0x00000000
    
    ESI: 0x01325C38	EDI: 0x01325C38	EBP: 0x0012F674	ESP: 0x0012F64C
    
    EFLAGS: 0x00010246
    
    
    
    Stack:
    
    +0000: 0x01325C38   0x00733210   0x00000001   0x00927248
    
    +0010: 0x000000FF   0x00000101   0x00000061   0x009241F0
    
    +0020: 0x00927210   0x00000001   0x01976448   0x00401096
    
    +0030: 0x01325C38   0x021BE83C   0x01A8B640   0x00402BB3
    
    +0040: 0x01325C38   0x00000094   0x0012F6AC   0x021BE83C
    
    +0050: 0x00000000   0x01325C38   0x00000000   0xFBCC1901
    
    +0060: 0x00000001   0x007330F8   0x007331FC   0x00735814
    
    +0070: 0x00731858   0x0073499C   0x00731858   0x01912894
    
    +0080: 0x01A8B640   0x00000000   0x01910020   0x00178DAC
    
    +0090: 0x00486CFB   0x01325C38   0x0012F714   0x00000092
    
    +00A0: 0x01325C38   0x00000000   0x01325C38   0x0012F724
    
    +00B0: 0x0012F718   0x0136CCD0   0x021BCE58   0x00000000
    
    +00C0: 0x00000000   0x0136CCD0   0x00000000   0x021BCE58
    
    +00D0: 0x0049C5C5   0x00000092   0x00731818   0x0012F860
    
    +00E0: 0x00A2ABD0   0x0012FC8C   0x0000000F   0x000000A0
    
    +00F0: 0x000000A0   0x00000098   0x0012F860   0xFFFFFF00
    
    +0100: 0x7C910222   0x7C91019B   0x7C9101DB   0x0012FA68
    
    +0110: 0x00000007   0x00A2ABD0   0x44898BFD   0x4386923D
    
    +0120: 0xFFFFFFFF   0xFFFFFFFF   0xFFFFFFFF   0xFFFFFFFF
    
    +0130: 0x0012F7B0   0x00A20000   0x7C910222   0x00000002
    

    Aveti o rezolvare?

  5. Deci eu am plecat de la mtrp-final, am bagat mysql si acu cand pornesc serveru imi da asta.

    SA-MP Dedicated Server
    ----------------------
    v0.3b R2, (C)2005-2010 SA-MP Team
    
    [19:18:35] filterscripts = ""  (string)
    [19:18:35]
    [19:18:35] Server Plugins
    [19:18:35] --------------
    [19:18:35]  Loading plugin: streamer
    [19:18:35]
    
    *** Streamer Plugin v2.3.8 by Incognito loaded ***
    
    [19:18:35]   Loaded.
    [19:18:35]  Loading plugin: Whirlpool
    [19:18:35]  
    [19:18:35]  ==================
    [19:18:35]  
    [19:18:35]   Whirlpool loaded
    [19:18:35]  
    [19:18:35]  ==================
    [19:18:35]  
    [19:18:35]   Loaded.
    [19:18:35]  Loaded 2 plugins.
    
    [19:18:35]
    [19:18:35] Filter Scripts
    [19:18:35] ---------------
    [19:18:35]   Loaded 0 filter scripts.
    
    [19:18:35] Script[gamemodes/RP.amx]: Run time error 19: "File or function is not found"
    [19:18:35] Number of vehicle models: 0
    [19:18:44] --- Server Shutting Down.
    [19:18:44]
    
    *** Streamer Plugin v2.3.8 by Incognito unloaded ***
    
    [19:18:44]  
    [19:18:44]  ====================
    [19:18:44]  
    [19:18:44]   Whirlpool unloaded
    [19:18:44]  
    [19:18:44]  ====================
    [19:18:44]

    Nu stiu ce sa ii mai fac i-am pus si plugins streamer si degeaba..

    Am gasit ca trebuie bagat si pluginu whirlpool, l-am bagat si degeaba...

    Sper sa ma ajutati.

  6. Aici am incercat sa fac si eu o mapa pentru serverele RolePlay.

    Imagini:

    Parcare

    http://www.img-share.net/uploads/85mta-screen0028.jpg

    http://www.img-share.net/uploads/98mta-screen0029.jpg

    Rampa pentru reducerea vitezei

    http://www.img-share.net/uploads/173mta-screen0031.jpg

    http://www.img-share.net/uploads/174mta-screen0033.jpg

    http://www.img-share.net/uploads/112mta-screen0034.jpg

    http://www.img-share.net/uploads/35mta-screen0035.jpg

    http://www.img-share.net/uploads/93mta-screen0036.jpg

    http://www.img-share.net/uploads/68mta-screen0037.jpg

    http://www.img-share.net/uploads/140mta-screen0038.jpg

    Bara LSPD

    http://www.img-share.net/uploads/192mta-screen0039.jpg

    CreateObject(5152,1427.37182600,-1723.31420900,12.55600800,0.00000000,24.06422740,-181.71889323); //object(2)
    CreateObject(5152,1431.80090300,-1723.41333000,12.58100800,0.00000000,23.20479070,-181.71883594); //object(3)
    CreateObject(5152,1440.88439900,-1730.24450700,12.55600800,0.00000000,23.20479070,-270.07740772); //object(4)
    CreateObject(5152,1440.80212400,-1734.64709500,12.55600800,0.00000000,23.20479070,-271.71893181); //object(5)
    CreateObject(5152,1391.52124000,-1863.52197300,12.58100800,0.00000000,24.06422740,0.00000000); //object(7)
    CreateObject(5152,1386.73071300,-1863.55175800,12.63100700,0.00000000,24.06422740,0.00000000); //object(8)
    CreateObject(5152,1541.41589400,-1874.79138200,12.58100800,0.00000000,24.06422740,-89.99998128); //object(9)
    CreateObject(5152,1541.49804700,-1870.25439500,12.65600700,0.00000000,24.06422740,-89.99998128); //object(10)
    CreateObject(5152,1572.09533700,-1740.82019000,12.53100900,0.00000000,24.06422740,-179.99996255); //object(11)
    CreateObject(5152,1567.40515100,-1740.84411600,12.55600800,0.00000000,24.06422740,-179.99996255); //object(12)
    CreateObject(5152,1359.71960400,-1419.46777300,12.60600800,0.00000000,24.06422740,-179.99996255); //object(13)
    CreateObject(5152,1354.99353000,-1419.51074200,12.56380400,0.00000000,24.06422740,-179.99996255); //object(14)
    CreateObject(5152,1333.89880400,-1391.23474100,12.67561400,0.00000000,22.34535401,-270.00000112); //object(15)
    CreateObject(5152,1333.90185500,-1395.60986300,12.62569100,0.00000000,24.06422740,-270.00000112); //object(16)
    CreateObject(5152,1333.90075700,-1399.96911600,12.63540700,0.00000000,24.06422740,-270.00000112); //object(17)
    CreateObject(5152,1333.89990200,-1404.36621100,12.56968100,0.00000000,22.34535401,-270.00000112); //object(18)
    CreateObject(5152,1333.89331100,-1408.77002000,12.53963900,0.00000000,23.20479070,-270.00000112); //object(19)
    CreateObject(5152,1343.75854500,-1034.13256800,25.67801500,0.00000000,24.06422740,-270.00000112); //object(20)
    CreateObject(5152,1343.75488300,-1038.62646500,25.70563100,0.00000000,24.06422740,-269.14056443); //object(21)
    CreateObject(5152,619.65216100,-1227.99072300,17.25937300,0.00000000,23.20479070,-337.50004438); //object(22)
    CreateObject(5152,623.70294200,-1226.32775900,17.28257000,0.00000000,23.20479070,-337.50004438); //object(23)
    CreateObject(5152,627.68707300,-1224.67919900,17.30757000,0.00000000,24.06422740,22.49999532); //object(25)
    CreateObject(5152,631.75640900,-1223.03637700,17.27530100,0.00000000,24.06422740,22.49999532); //object(26)
    CreateObject(5152,635.80896000,-1221.39099100,17.23257100,0.00000000,24.06422740,22.49999532); //object(27)
    CreateObject(8042,349.91867100,-1787.05261200,9.90002400,0.00000000,0.00000000,101.25000758); //object(40)
    CreateObject(997,319.87307700,-1787.19958500,3.81290400,0.00000000,0.00000000,-89.99998128); //object(41)
    CreateObject(997,316.58044400,-1787.09838900,3.75456700,0.00000000,0.00000000,-89.99998128); //object(42)
    CreateObject(997,313.48120100,-1787.15930200,3.69906800,0.00000000,0.00000000,-89.99998128); //object(43)
    CreateObject(997,310.24343900,-1787.23486300,3.66546000,0.00000000,0.00000000,-89.99998128); //object(45)
    CreateObject(997,322.97586100,-1787.13842800,3.85351100,0.00000000,0.00000000,-89.99998128); //object(46)
    CreateObject(997,326.33413700,-1787.18298300,3.91051700,0.00000000,0.00000000,-89.99998128); //object(47)
    CreateObject(997,329.54937700,-1787.22961400,3.96887000,0.00000000,0.00000000,-89.99998128); //object(48)
    CreateObject(997,332.71594200,-1787.26672400,3.98597800,0.00000000,0.00000000,-89.99998128); //object(49)
    CreateObject(997,335.92810100,-1787.17773400,4.01735800,0.00000000,0.00000000,-89.99998128); //object(50)
    CreateObject(997,339.21884200,-1787.26989700,4.03924300,0.00000000,0.00000000,-89.99998128); //object(51)
    CreateObject(997,309.99136400,-1807.79235800,3.55967700,0.00000000,0.00000000,-89.99998128); //object(52)
    CreateObject(997,313.18280000,-1807.75158700,3.59337300,0.00000000,0.00000000,-89.99998128); //object(53)
    CreateObject(997,316.38549800,-1807.76452600,3.58563300,0.00000000,0.00000000,-89.99998128); //object(54)
    CreateObject(997,319.48815900,-1807.77600100,3.58837400,0.00000000,0.00000000,-89.99998128); //object(55)
    CreateObject(997,322.72583000,-1807.82177700,3.56575500,0.00000000,0.00000000,-89.99998128); //object(56)
    CreateObject(997,326.13375900,-1807.80004900,3.58142000,0.00000000,0.00000000,-89.99998128); //object(57)
    CreateObject(997,329.29507400,-1807.73413100,3.57212400,0.00000000,0.00000000,-89.99998128); //object(58)
    CreateObject(997,332.44967700,-1807.62756300,3.57155700,0.00000000,0.00000000,-89.99998128); //object(59)
    CreateObject(997,335.74121100,-1807.71276900,3.59970800,0.00000000,0.00000000,-89.99998128); //object(60)
    CreateObject(997,338.94253500,-1807.69567900,3.63074300,0.00000000,0.00000000,-89.99998128); //object(61)
    CreateObject(997,342.25589000,-1807.72937000,3.60873300,0.00000000,0.00000000,-89.99998128); //object(62)
    CreateObject(997,345.53900100,-1807.66564900,3.59835700,0.00000000,0.00000000,-89.99998128); //object(63)
    CreateObject(997,348.71340900,-1807.72241200,3.60057400,0.00000000,0.00000000,-89.99998128); //object(64)
    CreateObject(997,351.95840500,-1807.67932100,3.61845600,0.00000000,0.00000000,-89.99998128); //object(65)
    CreateObject(997,355.07537800,-1807.73742700,3.63415000,0.00000000,0.00000000,-89.99998128); //object(66)
    CreateObject(997,358.51803600,-1807.90844700,3.63252400,0.00000000,0.00000000,-89.99998128); //object(67)
    CreateObject(996,1537.47607400,-1664.83471700,13.13156800,0.00000000,0.00000000,-89.99998128); //object(67)
    CreateObject(996,1537.46252400,-1673.18029800,13.13156800,0.00000000,0.00000000,-89.99998128); //object(68)
    CreateObject(997,1541.32177700,-1877.69458000,12.64719300,0.00000000,0.00000000,-89.99998128); //object(70)
    CreateObject(997,1541.45593300,-1864.01440400,12.64719300,0.00000000,0.00000000,-89.99998128); //object(71)
    CreateObject(997,1440.61645500,-1737.70800800,12.64719300,0.00000000,0.00000000,-89.99998128); //object(72)
    CreateObject(997,1440.74206500,-1723.57482900,12.64719300,0.00000000,0.00000000,-89.99998128); //object(73)
    CreateObject(997,1438.94519000,-1723.43518100,12.64719300,0.00000000,0.00000000,-180.00001985); //object(74)
    CreateObject(997,1423.54809600,-1723.21203600,12.64719300,0.00000000,0.00000000,-180.00001985); //object(75)
    CreateObject(970,332.10052500,-1817.59716800,3.82411000,0.00000000,0.00000000,0.00000000); //object(76)
    CreateObject(970,336.38714600,-1817.60253900,3.82075600,0.00000000,0.00000000,0.00000000); //object(77)
    CreateObject(970,308.22985800,-1814.97155800,3.88472200,0.00000000,0.00000000,-89.99998128); //object(78)
    CreateObject(970,336.90780600,-1785.96740700,4.57411300,0.00000000,0.85943669 begin_of_the_skype_highlighting              0.85943669      end_of_the_skype_highlighting,-177.42165247); //object(79)
    CreateObject(970,332.53045700,-1786.06481900,4.47868100,0.00000000,0.85943669,-180.00001985); //object(80)
    CreateObject(970,328.14968900,-1785.98388700,4.37897200,0.00000000,0.85943669,-180.85945654); //object(81)
    CreateObject(970,323.73004200,-1786.09606900,4.33053600,0.00000000,0.85943669,-177.42165247); //object(82)
    CreateObject(970,319.41464200,-1786.13684100,4.26066100,0.00000000,0.85943669,-180.85945654); //object(83)
    CreateObject(970,315.08877600,-1786.02526900,4.17212300,0.00000000,0.85943669,-180.85945654); //object(84)
    CreateObject(970,310.80670200,-1785.93371600,4.11060800,0.00000000,0.85943669,-180.85945654); //object(85)
    CreateObject(970,360.14776600,-1800.36779800,4.40188500,0.00000000,-0.85943669,-265.78028155); //object(86)
    CreateObject(970,359.78659100,-1796.14990200,4.44983300,0.00000000,-0.85943669,-265.78028155); //object(87)
    CreateObject(970,359.48977700,-1791.99426300,4.56644900,0.00000000,-0.85943669,-265.78028155); //object(88)
    CreateObject(970,359.30575600,-1790.62036100,4.60010200,0.00000000,-0.85943669,-265.78028155); //object(89)

  7. Salut, m-am apucat sa imi fac propriul Gm plecand de la mtrp-final, dar dupa incercarea de a scoate MysQL am inceput sa iau erorile astea.

    Sau daca las MySQL merge sa pun sa urce informatiile direct pe un site free, fara sa umblu cu xampp ca nustiu sa fac cu xampp plus ca am ip dinamic.

    Sper sa ma ajutati sa le rezolv.

    D:\Download\Gamemod samp\SZRP.pwn(2104) : error 004: function "SafeGivePlayerMoney" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2133) : error 004: function "SafeGivePlayerMoney" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2169) : error 004: function "SafeResetPlayerWeapons" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2170) : error 004: function "SafeGivePlayerWeapon" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2197) : error 004: function "SafeResetPlayerWeapons" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2209) : error 004: function "ClearChatbox" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2220) : error 004: function "ClearChatbox" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2238) : error 004: function "ClearChatbox" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2249) : error 004: function "ClearChatbox" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2268) : error 004: function "ClearChatbox" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2284) : error 004: function "ClearChatbox" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2297) : error 004: function "ClearChatbox" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2311) : error 004: function "ClearChatbox" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2325) : error 004: function "ClearChatbox" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2340) : error 004: function "ClearChatbox" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2357) : error 004: function "ClearChatbox" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2369) : error 004: function "ClearChatbox" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2379) : error 004: function "ClearChatbox" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2587) : error 004: function "SetPlayerToTeamColor" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2612) : error 004: function "SetPlayerToTeamColor" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2632) : error 004: function "SetPlayerCriminal" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2637) : error 004: function "SetPlayerCriminal" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2661) : error 004: function "PlayerToPoint" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2665) : error 004: function "PlayerToPoint" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2730) : error 004: function "PlayerToPoint" is not implemented
    D:\Download\Gamemod samp\SZRP.pwn(2734) : error 004: function "PlayerToPoint" is not implemented
    
    Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
    
    
    26 Errors.

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