[GM] TechLand Xperia RP | Prebacen u 0.3e |

Započeo Muhamed., April 09, 2012, 15:21:24 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

dobar mod, testao sam ga, extra je :D
Skriptam za novac ! Javite mi se preko privatne poruke !
[/B]

Brate GM je 10/10 Ali slusaj sta mu nevalja nisam admin znaci kucam /vikendica /malakuca /srednjakuca /velikakuca /vila napravi se a znaci nisam admin eto samo da znate ko bude imao ovaj GM nek to popravi :D
Uvjek uz Division RolePlay <3

Citat: zep. poslato Maj 18, 2012, 01:32:00 PRE PODNE
Brate GM je 10/10 Ali slusaj sta mu nevalja nisam admin znaci kucam /vikendica /malakuca /srednjakuca /velikakuca /vila napravi se a znaci nisam admin eto samo da znate ko bude imao ovaj GM nek to popravi :D
nadi komandu npr

CMD:vila(playerid, params[])
{
    new string[128];
    new NewHouseID = SpawnedHouses+1;

    GetPlayerPos(playerid, Houses[NewHouseID][hExteriorX], Houses[NewHouseID][hExteriorY], Houses[NewHouseID][hExteriorZ]);

    PlayerInfo[playerid][pHouseExterior]++;

    format( string, sizeof( string ), "Exterijer postavljen (X: %f, Y: %f, Z: %f).", Houses[NewHouseID][hExteriorX], Houses[NewHouseID][hExteriorY], Houses[NewHouseID][hExteriorZ]);
    SendClientMessage( playerid, WHITE, string);
    GetPlayerPos(playerid, Houses[NewHouseID][hInteriorX], Houses[NewHouseID][hInteriorY], Houses[NewHouseID][hInteriorZ]);

    PlayerInfo[playerid][pHouseInterior]++;

    Houses[NewHouseID][hInteriorID] = GetPlayerInterior( playerid );

    format( string, sizeof( string ), "interijer postavljen! (X: %f, Y: %f, Z: %f).",Houses[NewHouseID][hInteriorX], Houses[NewHouseID][hInteriorY], Houses[NewHouseID][hInteriorZ]);
    SendClientMessage( playerid, WHITE, string);

    if(NewHouseID >= MAX_HOUSES) {
        SendClientMessage( playerid, WHITE, "Vec ima previse kuca!" );
    }
    else {
        format( string, sizeof( string ), "Houses/House_%d.ini", NewHouseID);

        if(!fexist( string) ) {
            new id;
            SpawnedHouses++;
            Houses[NewHouseID][HousePrice] = 350000;
            Houses[NewHouseID][hLevel] = 10;
            strmid(Houses[NewHouseID][hOpis], "Vila", 0, strlen("Vila"), 255);
            Houses[NewHouseID][hVec] = 418;
            Houses[NewHouseID][hType] = 4;
            Houses[NewHouseID][hOwned] = 0;
            format(Houses[NewHouseID][hOwner], 255, "Niko" );
            Houses[NewHouseID][LockStatus] = 0;
            Houses[NewHouseID][HPickupID] = AddStaticPickup(1273, 1, Houses[NewHouseID][hExteriorX], Houses[NewHouseID][hExteriorY], Houses[NewHouseID][hExteriorZ]);

            dini_Create( string);
            dini_IntSet( string, "InteriorID", Houses[NewHouseID][hInteriorID]);
            dini_FloatSet( string, "InteriorX", Houses[NewHouseID][hInteriorX]);
            dini_FloatSet( string, "InteriorY", Houses[NewHouseID][hInteriorY]);
            dini_FloatSet( string, "InteriorZ", Houses[NewHouseID][hInteriorZ]);

            dini_IntSet( string, "HousePrice", 350000 );

            dini_IntSet( string, "ExteriorID", 0 );
            dini_FloatSet( string, "ExteriorX", Houses[NewHouseID][hExteriorX]);
            dini_FloatSet( string, "ExteriorY", Houses[NewHouseID][hExteriorY]);
            dini_FloatSet( string, "ExteriorZ", Houses[NewHouseID][hExteriorZ]);

            dini_IntSet( string, "VaultMoney", -1);

            dini_IntSet( string, "HouseCocaine", -1);
            dini_IntSet( string, "HousePot", -1);
            dini_IntSet( string, "HouseMaterials", -1);

            dini_Set( string, "Owner", "Niko" );
            dini_IntSet(string, "Level", 10);

            dini_IntSet( string, "LockStatus", Houses[NewHouseID][LockStatus]);
            dini_IntSet( string, "hVec", Houses[NewHouseID][hVec]);
            dini_IntSet( string, "hVcol1", Houses[NewHouseID][hVcol1]);
            dini_IntSet( string, "hVcol2", Houses[NewHouseID][hVcol2]);
            dini_Set( string, "Addres", Houses[NewHouseID][hAddres]);
            dini_Set( string, "Opis", Houses[NewHouseID][hOpis]);
            dini_IntSet( string, "Owned", Houses[NewHouseID][hOwned]);
            PlayerInfo[playerid][pHouseExterior]--;
            PlayerInfo[playerid][pHouseInterior]--;
            OnPropTextdrawUpdate(1,id);
            format(string, sizeof(string), "Uspjesno postavljena kuca | ID: %i",NewHouseID);
            SendClientMessage(playerid, WHITE, string);
            return 1;
        }
    }
    return 1;
}


zamjeni sa ovim

CMD:vila(playerid, params[])
{
    new string[128];
    new NewHouseID = SpawnedHouses+1;
    if (PlayerInfo[playerid][pAdmin] >= 1337) {
    GetPlayerPos(playerid, Houses[NewHouseID][hExteriorX], Houses[NewHouseID][hExteriorY], Houses[NewHouseID][hExteriorZ]);

    PlayerInfo[playerid][pHouseExterior]++;

    format( string, sizeof( string ), "Exterijer postavljen (X: %f, Y: %f, Z: %f).", Houses[NewHouseID][hExteriorX], Houses[NewHouseID][hExteriorY], Houses[NewHouseID][hExteriorZ]);
    SendClientMessage( playerid, WHITE, string);
    GetPlayerPos(playerid, Houses[NewHouseID][hInteriorX], Houses[NewHouseID][hInteriorY], Houses[NewHouseID][hInteriorZ]);

    PlayerInfo[playerid][pHouseInterior]++;

    Houses[NewHouseID][hInteriorID] = GetPlayerInterior( playerid );

    format( string, sizeof( string ), "interijer postavljen! (X: %f, Y: %f, Z: %f).",Houses[NewHouseID][hInteriorX], Houses[NewHouseID][hInteriorY], Houses[NewHouseID][hInteriorZ]);
    SendClientMessage( playerid, WHITE, string);

    if(NewHouseID >= MAX_HOUSES) {
        SendClientMessage( playerid, WHITE, "Vec ima previse kuca!" );
    }
    else {
        format( string, sizeof( string ), "Houses/House_%d.ini", NewHouseID);

        if(!fexist( string) ) {
            new id;
            SpawnedHouses++;
            Houses[NewHouseID][HousePrice] = 350000;
            Houses[NewHouseID][hLevel] = 10;
            strmid(Houses[NewHouseID][hOpis], "Vila", 0, strlen("Vila"), 255);
            Houses[NewHouseID][hVec] = 418;
            Houses[NewHouseID][hType] = 4;
            Houses[NewHouseID][hOwned] = 0;
            format(Houses[NewHouseID][hOwner], 255, "Niko" );
            Houses[NewHouseID][LockStatus] = 0;
            Houses[NewHouseID][HPickupID] = AddStaticPickup(1273, 1, Houses[NewHouseID][hExteriorX], Houses[NewHouseID][hExteriorY], Houses[NewHouseID][hExteriorZ]);

            dini_Create( string);
            dini_IntSet( string, "InteriorID", Houses[NewHouseID][hInteriorID]);
            dini_FloatSet( string, "InteriorX", Houses[NewHouseID][hInteriorX]);
            dini_FloatSet( string, "InteriorY", Houses[NewHouseID][hInteriorY]);
            dini_FloatSet( string, "InteriorZ", Houses[NewHouseID][hInteriorZ]);

            dini_IntSet( string, "HousePrice", 350000 );

            dini_IntSet( string, "ExteriorID", 0 );
            dini_FloatSet( string, "ExteriorX", Houses[NewHouseID][hExteriorX]);
            dini_FloatSet( string, "ExteriorY", Houses[NewHouseID][hExteriorY]);
            dini_FloatSet( string, "ExteriorZ", Houses[NewHouseID][hExteriorZ]);

            dini_IntSet( string, "VaultMoney", -1);

            dini_IntSet( string, "HouseCocaine", -1);
            dini_IntSet( string, "HousePot", -1);
            dini_IntSet( string, "HouseMaterials", -1);

            dini_Set( string, "Owner", "Niko" );
            dini_IntSet(string, "Level", 10);

            dini_IntSet( string, "LockStatus", Houses[NewHouseID][LockStatus]);
            dini_IntSet( string, "hVec", Houses[NewHouseID][hVec]);
            dini_IntSet( string, "hVcol1", Houses[NewHouseID][hVcol1]);
            dini_IntSet( string, "hVcol2", Houses[NewHouseID][hVcol2]);
            dini_Set( string, "Addres", Houses[NewHouseID][hAddres]);
            dini_Set( string, "Opis", Houses[NewHouseID][hOpis]);
            dini_IntSet( string, "Owned", Houses[NewHouseID][hOwned]);
            PlayerInfo[playerid][pHouseExterior]--;
            PlayerInfo[playerid][pHouseInterior]--;
            OnPropTextdrawUpdate(1,id);
            format(string, sizeof(string), "Uspjesno postavljena kuca | ID: %i",NewHouseID);
            SendClientMessage(playerid, WHITE, string);
            return 1;
        }
    }
    return 1;
}
}

Citat[shadow=red,left]GooD[/shadow]
Poslednja Izmena: Maj 18, 2012, 09:48:40 PRE PODNE od San-RPG
:.:..:::::.::..:.:.:..:..:::::::::::::::::::::::::::::::::::

E kad dodam ove tvoje ZCMD u moj mod , nerade STRCMP komande , zna li neko kako resiti?

Mod je predobar al zato ima previse Bagova :'(
Budi ono sto jesi jer se Lazna lica uvjek otkrivaju!

Jel to 0.3e??? ili???
MAPPER NA USLUZI :)

Ovako,odličan ti je MOD...Zanima me samo kako si sredio da se vidi Skripter(ono na pocetku..ako me razumijes) Dakle pise Voditelj Projekta
Ime_Prezime
i to :D aj javi Å¡to prije
MAPPER NA USLUZI :)

Mod je odlican,kako mozes da ga stavis na Oglas, :(

Citat: Marko Horvat poslato Maj 19, 2012, 11:59:10 PRE PODNE
Ovako,odličan ti je MOD...Zanima me samo kako si sredio da se vidi Skripter(ono na pocetku..ako me razumijes) Dakle pise Voditelj Projekta
Ime_Prezime
i to :D aj javi Å¡to prije

To je intro imas u OnGameModeInit textdrawowe Intro1 itd i tu ces naci

Koji je samp cilent potreban imam 0.3e ali nece da udje pise server not responding ?


Moraš prebaciti u 0.3e

Za koji min cu ja upload 0.3e..

Ne , trenutno nemam zivaca poboljsavati ovaj GM , jer sada skriptam za americki server.

e da nezna tko od vas zasto kad ubacim neki mod u svoj server zasto ono sve sto je mapano nema..Pozz mod je 10/10

Mod nije tesko prebaciti u 0.3e potrebno je barem 1min