Jump to content

Mafia.

V.I.P
  • Posts

    792
  • Joined

  • Last visited

  • Days Won

    12

Posts posted by Mafia.

  1. warning 213: tag mismatch  - Nu sunt bine ordonate

    P_Data[playerid][pCar1] = cache_get_field_content_int(0, "Car1");
    P_Data[playerid][pCarID1] = cache_get_field_content_int(0, "CarID1");
    P_Data[playerid][pCarColor11] = cache_get_field_content_int(0, "CarColor11");
    P_Data[playerid][pCarColor21] = cache_get_field_content_int(0, "CarColor21");
    P_Data[playerid][pCarPlate1] = cache_get_field_content(0, "CarPlate1", plate1[playerid]);
    P_Data[playerid][pCarHealth1] = cache_get_field_content_float(0, "CarHealth1");
    P_Data[playerid][pCarX1] = cache_get_field_content_float(0, "CarX1");
    P_Data[playerid][pCarZ1] = cache_get_field_content_float(0, "CarZ1");
    P_Data[playerid][pCarY1] = cache_get_field_content_float(0, "CarY1");
    P_Data[playerid][pCarR1] = cache_get_field_content_float(0, "CarR1");
    P_Data[playerid][pCarID2] = cache_get_field_content_int(0, "CarID2");
    P_Data[playerid][pCarColor12] = cache_get_field_content_int(0, "CarColor12");
    P_Data[playerid][pCarColor22] = cache_get_field_content_int(0, "CarColor22");
    P_Data[playerid][pCarPlate2] = cache_get_field_content(0, "CarPlate2", plate2[playerid]);
    P_Data[playerid][pCarHealth2] = cache_get_field_content_float(0, "CarHealth2");
    P_Data[playerid][pCarX2] = cache_get_field_content_float(0, "CarX2");
    P_Data[playerid][pCarZ2] = cache_get_field_content_float(0, "CarZ2");
    P_Data[playerid][pCarY2] = cache_get_field_content_float(0, "CarY2");
    P_Data[playerid][pCarR2] = cache_get_field_content_float(0, "CarR2");

     

  2. 	if(strcmp(cmd, "/bonus", true) == 0)
    	{
    	    if(IsPlayerConnected(playerid))
    	    {
    			if (levelup2 == 1)
    			{
                	if(PlayerInfo[playerid][pLevel] > 1)
    	        	{
             			SendClientMessage(playerid, COLOR_GRAD1, "You can`t use this command at this time !");
    	            	return 1;
    	        	}
    				PlayerInfo[playerid][pLevel]++;
    				PlayerInfo[playerid][pLevel]++;
    				GivePlayerMoney(playerid, SUMA DE BANI!);
    				// Sau mai poti face asa daca vrei sa ii bagi in banca 
    				PlayerInfo[playerid][pBank] = SUMA;
    				SendClientMessage(playerid, COLOR_ORANGE, "Ai primit 2 levelup! + SUMA!");
    			}
    			else
    			{
    				SendClientMessage(playerid, COLOR_GRAD1, "You can`t use this command at this time !");
    			}
    		}
    		return 1;
    	}

     

  3. Incearca asa :

     

        new wakaname[25];
    	new string2[182];
       
       
       GetPlayerName(playerid,wakaname,25);
    	switch(reason)
        {
            case 0: format(string2,sizeof(string2),"%s exited the game (Crash).",wakaname);
            case 1: format(string2,sizeof(string2),"%s exited the game (/q).",wakaname);
            case 2: format(string2,sizeof(string2),"%s exited the game (Kicked/Banned).",wakaname);
        }
        ProxDetector(20.0, playerid, string2, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);

     

  4. Salut ,

    1. Dowloadezi : Click
    2. Dezarhivezi
    3. Copiezi astea

                       announce.exe

                       samp-npc.exe

                       samp-server.exe

                      dosarul pawno\include

          4. Recompilati gamemode-ul si filterscript-urile.

    Si gata serverul tau e pe versiunea 0.3.7

    • Upvote 1
  5. Salut  , am revenit sa împărtășească acest sistem cu voi.

    El cuprinde :

    1.   Un mini-bar
    2.   un paznic [ Actori ]
    3.    doua dansatoare erotice [ Actori ]

     

    Pentru inceput ne trebuie INCLUDE "Actor streamer"

    Click

    1. La inceputul gamemodului punem :

    new actori[4];
    #define funcion%0(%1) forward %0(%1); public %0(%1)

    2. La OnGameModeInit punem :

     

    actori[0] = CreateActor(194, 1263.4873,-776.4821,4001.1401,179.2284);
    actori[1] = CreateActor(246, 1252.8138,-777.0408,4001.5591, 223.4089);
    actori[2] = CreateActor(64, 1253.1564,-789.6573,4001.1538, 323.6765);
    actori[3] = CreateActor(164, 1258.2405,-783.8182,4001.0859,52.3507);
    SetActorVirtualWorld(actori[0], 2);
    SetActorVirtualWorld(actori[1], 2);
    SetActorVirtualWorld(actori[2], 2);
    SetActorVirtualWorld(actori[3], 2);
    SetTimer("actualizeaza", 10000, true);
    //CLUB
    CreateObject(14537, 1264.31079, -772.83990, 4002.08545,   0.00000, 0.00000, 0.00000);
    CreateObject(19128, 1253.92822, -791.09857, 4000.08350,   0.00000, 0.00000, 45.00000);
    CreateObject(19128, 1251.10486, -788.30438, 4000.08350,   0.00000, 0.00000, 45.00000);
    CreateObject(19128, 1250.80359, -775.04132, 4000.48877,   0.00000, 0.00000, 45.00000);
    CreateObject(19128, 1253.60486, -777.81592, 4000.48877,   0.00000, 0.00000, 45.00000);
    CreateObject(19130, 1256.36560, -777.95337, 4000.49243,   0.00000, 0.00000, -45.00000);
    CreateObject(19130, 1253.82007, -780.47382, 4000.49243,   0.00000, 0.00000, -45.00000);
    CreateObject(2232, 1259.58386, -783.01416, 4000.69067,   0.00000, 0.00000, 4463.81982);
    CreateObject(2232, 1251.82690, -784.34857, 4000.69067,   0.00000, 0.00000, 4371.06006);
    CreateObject(2232, 1250.65015, -783.10382, 4000.69067,   0.00000, 0.00000, 4457.22119);
    CreateObject(14833, 1247.02014, -766.12384, 4001.69434,   0.00000, 0.00000, 180.00000);
    CreateObject(14837, 1257.10229, -768.77228, 4001.81152,   0.00000, 0.00000, 0.00000);
    CreateObject(19611, 1253.51208, -777.84747, 4003.71973,   0.00000, 180.00000, 0.00000);
    CreateObject(19611, 1253.51208, -777.84747, 4000.55005,   0.00000, 0.00000, 0.00000);
    CreateObject(19617, 1259.62305, -776.19171, 4002.19482,   0.00000, 0.00000, 90.00000);
    CreateObject(19859, 1260.54102, -783.49609, 4001.31226,   0.00000, 0.00000, 0.00000);
    CreateObject(19859, 1263.48547, -783.50507, 4001.31226,   0.00000, 0.00000, 180.00000);
    CreateObject(19894, 1264.26196, -777.42529, 4001.25195,   0.00000, 0.00000, 214.92000);
    CreateObject(19893, 1264.24036, -777.44177, 4001.35376,   0.00000, 0.00000, 214.92001);
    CreateObject(19894, 1264.15210, -777.24792, 4001.25195,   0.00000, 0.00000, 214.92000);
    CreateObject(19821, 1262.81592, -777.24414, 4001.25366,   0.00000, 0.00000, 0.00000);
    CreateObject(19821, 1260.36218, -777.25751, 4001.25366,   0.00000, 0.00000, 0.00000);
    CreateObject(19822, 1262.43872, -777.32117, 4001.25317,   0.00000, 0.00000, 0.00000);
    CreateObject(19822, 1266.18359, -777.16522, 4001.25317,   0.00000, 0.00000, 0.00000);
    CreateObject(19820, 1265.03381, -777.79626, 4001.25342,   0.00000, 0.00000, 0.00000);
    CreateObject(19820, 1267.64648, -777.29895, 4001.25342,   0.00000, 0.00000, 0.00000);
    CreateObject(19819, 1266.89917, -777.33698, 4001.35376,   0.00000, 0.00000, 0.00000);
    CreateObject(19819, 1264.06543, -777.95142, 4001.35376,   0.00000, 0.00000, 0.00000);
    CreateObject(11704, 1250.24011, -779.57446, 4001.55884,   0.00000, 0.00000, 90.00000);
    CreateObject(2255, 1250.68030, -777.37164, 4001.51904,   0.00000, 0.00000, 90.00000);
    CreateObject(2273, 1253.30798, -774.88239, 4001.46997,   0.00000, 0.00000, 0.00000);
    CreateObject(19173, 1268.50684, -781.19238, 4002.35791,   0.00000, 0.00000, 90.00000);
    CreateObject(2290, 1254.70239, -783.25665, 3999.88477,   0.00000, 0.00000, 180.00000);
    CreateObject(2290, 1253.08020, -784.34357, 3999.98584,   0.00000, 0.00000, 0.00000);
    CreateObject(2290, 1258.43860, -787.04639, 3999.98584,   0.00000, 0.00000, -90.00000);
    CreateObject(948, 1258.59851, -784.66406, 4000.08447,   0.00000, 0.00000, 0.00000);
    CreateObject(19611, 1253.96838, -788.67090, 4003.38770,   0.00000, 180.00000, 0.00000);
    CreateObject(19611, 1253.96838, -788.67090, 4000.14380,   0.00000, 0.00000, 0.00000);
    CreateObject(2255, 1251.67590, -788.00482, 4001.51904,   0.00000, 0.00000, 90.00000);
    CreateObject(19173, 1255.32251, -791.16211, 4002.05469,   0.00000, 0.00000, 0.00000);
    CreateObject(19377, 1264.22205, -779.01068, 4003.48413,   0.00000, 90.00000, 0.00000);
    CreateObject(19377, 1253.81506, -778.97455, 4003.48413,   0.00000, 90.00000, 0.00000);
    CreateObject(19377, 1253.95557, -788.58472, 4003.48413,   0.00000, 90.00000, 0.00000);
    //
    new object3[3];
    object3[0] = CreateObject(19379, 1253.73596, -778.92548, 4000.00000,   0.00000, 90.00000, 0.00000);
    object3[1] = CreateObject(19379, 1253.74414, -788.51770, 4000.00000,   0.00000, 90.00000, 0.00000);
    object3[2] = CreateObject(19379, 1263.99866, -778.79950, 4000.00000,   0.00000, 90.00000, 0.00000);
    for(new i = 0; i != 3 ; i++) SetObjectMaterial(object3,0, 5999, "sunst18_lawn", "tiledwall01_LA", 0);
    //
    new club18[18];
    club18[0] = CreateObject(19446, 1264.06519, -774.20233, 4001.74341,   0.00000, 0.00000, 90.00000);
    club18[1] = CreateObject(19446, 1262.06494, -785.17230, 4001.74341,   0.00000, 0.00000, 90.00000);
    club18[2] = CreateObject(19446, 1259.56250, -772.88495, 4001.74341,   0.00000, 0.00000, 0.00000);
    club18[3] = CreateObject(19446, 1254.90759, -774.31281, 4001.74341,   0.00000, 0.00000, 90.00000);
    club18[4] = CreateObject(19446, 1250.09460, -779.08289, 4001.74341,   0.00000, 0.00000, 0.00000);
    club18[5] = CreateObject(19446, 1250.70630, -783.80780, 4001.74341,   0.00000, 0.00000, 90.00000);
    club18[6] = CreateObject(19446, 1263.81616, -783.57587, 4001.74341,   0.00000, 0.00000, 90.00000);
    club18[7] = CreateObject(19446, 1259.00989, -786.52917, 4001.74341,   0.00000, 0.00000, 0.00000);
    club18[8] = CreateObject(19446, 1251.11023, -788.68842, 4001.74341,   0.00000, 0.00000, 0.00000);
    club18[9] = CreateObject(19446, 1254.16589, -791.24780, 4001.74341,   0.00000, 0.00000, 90.00000);
    club18[10] = CreateObject(19446, 1268.65906, -778.87585, 4001.74341,   0.00000, 0.00000, 0.00000);
    club18[11] = CreateObject(19438, 1252.44275, -779.36877, 3999.78247,   90.00000, 0.00000, 45.00000);
    club18[12] = CreateObject(19438, 1264.68921, -784.08044, 4000.89819,   90.00000, 0.00000, 0.00000);
    club18[13] = CreateObject(19438, 1269.18103, -779.57220, 4000.89819,   90.00000, 0.00000, 90.00000);
    club18[14] = CreateObject(19438, 1250.00623, -776.94910, 3999.78247,   90.00000, 0.00000, 45.00000);
    club18[15] = CreateObject(19438, 1255.01489, -779.20630, 3999.78247,   90.00000, 0.00000, -45.00000);
    club18[16] = CreateObject(19438, 1255.25659, -776.63904, 3999.78247,   90.00000, 0.00000, 45.00000);
    club18[17] = CreateObject(19438, 1252.82666, -774.20215, 3999.78247,   90.00000, 0.00000, 45.00000);
    for(new i = 0; i != 18 ; i++) SetObjectMaterial(club18,0, 3595, "dingbat01_la", "mosaic1_LAwn", 0);

    3. Adaugam la sfarsit.

    funcion actualizeaza()
    {
            ApplyActorAnimation(actori[0], "BAR", "Barserve_bottle", 4.0,1,0,0,1,0);
           ApplyActorAnimation(actori[1], "DANCING", "DAN_Down_A", 4.0,1,0,0,1,0);
        ApplyActorAnimation(actori[2], "DANCING", "DAN_Right_A", 4.0,1,0,0,1,0);
        ApplyActorAnimation(actori[3], "DEALER", "DEALER_IDLE_01", 4.0, 0, 1, 1, 1, -1);
        ApplyActorAnimation(actori[0], "BAR", "Barserve_bottle", 4.0,1,0,0,1,0);
           ApplyActorAnimation(actori[1], "DANCING", "DAN_Down_A", 4.0,1,0,0,1,0);
        ApplyActorAnimation(actori[2], "DANCING", "DAN_Right_A", 4.0,1,0,0,1,0);
        ApplyActorAnimation(actori[3], "DEALER", "DEALER_IDLE_01", 4.0, 0, 1, 1, 1, -1);
    }

     4 . Sa facem si comanda

     

    CMD:gotoclub(playerid, params[])
    {
        SendClientMessage(playerid, -1, "Ai intrat in CLUB! [VW :2]");
        SetPlayerPos(playerid, 1262.3711,-781.7170,4001.0859);
    	SetPlayerVirtualWorld(playerid, 2);
        return 1;
    }

     

    O sa revin si cu cateva poze.

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