Jump to content

zaster

Membru
  • Posts

    134
  • Joined

  • Last visited

Posts posted by zaster

  1. pai nu ati trebuie /createhouses

    poti folosi comanda /save din sa-mp te duci unde vrei sa creezi casa , /save ///CASA 1

    dupaia de duci in Gta San Andreas User Files/SAMP/savedpositions si acolo este salvat coordonatele de la casa ta

    arata ceva get asa

    [pawn]AddPlayerClass(217,-214.6179,1470.9010,74.7124,225.8006,0,0,0,0,0,0);[/pawn]

    dupa aceea te duci in FS-ul cu case sau unde este bagat

    si cauti functia CreateHouse(playerid, x ,z ,y ,a ); sau cum este ai loat codu ala si il pui CreateHouse(playerid, 214.6179,1470.9010,74.7124 ,a );

    dupaia ai dat compile si merge asta cred eu ca este ce-a mai usoara modalitate de a creea o casa :) sau mai multe..

  2. Deci am si eu o problema Nu Vrea sami Vada

    Create3DTextLabel

    Pe server am bagat in GM si nu le arata

    am bagat Include Streamer plugins toate kkturile

    si tot nu merge... X(

    daca stiti carei problema zicetimi

  3. Si se scrie cu I nu cu A la inceput,esti si analfabet.

    ______

    Habar'nai ba saracule.

    ON:Ti-a spus stuntman :)

    ba fraiere sarac esti tu si asa ami place sa scriu eu cu A ai ceva in potriva

    marsh drq si nu mai comenta copil de 11 ani

    JET!

  4. Deci mam Lasat De Sa-Mp

    Si mam Gandit Sa va Las Ca amintire Niste Scripturi

    :)

    Mam Saturat de acest joc ..

    Mai am 1 GB de scripturi o sa vad daca le postez

    Aici Vam lasat Cateva DIn Scripturi

    http://solidfiles.com/d/16826383f4/

    Ne mai Vedem Bafta la Toti :)

  5. Punem asta Sus in Capul FileScriptului Sau GM-ului

    new Locked[MAX_PLAYERS];
    Aici Sunt Cateva Clase De Playeri
    public OnGameModeInit()
    {
        AddPlayerClass(221, 0, 0, 0, 130, 24, 300, 0, 0, 0, 0); //Class 0 - Nau Parola
        AddPlayerClass(212, 0, 0, 0, 130, 24, 300, 0, 0, 0, 0); //Class 1 - Nau Parola
        AddPlayerClass(199, 0, 0, 0, 130, 24, 300, 0, 0, 0, 0); //Class 2 -Are Parola
        return 1;
    }
    Aici se definesc Skinurile Private si alea care nus private
    public OnPlayerRequestClass(playerid, classid)
    {
        switch(classid)
        {
    	case 0: Locked[playerid] = 0; //UNLOCKED
    	case 1: Locked[playerid] = 0; //UNLOCKED
    	case 2: Locked[playerid] = 1; //LOCKED
        }
        return 1;
    }
    Aici Este Cand Playeru A Loat SKinu Cu Parola Nu-l Va lasa Sa se Spawneze!
    public OnPlayerRequestSpawn(playerid)
    {
        if(Locked[playerid]) return 0;
        //Opreste Playeru Sa Fie Spawnat =D
        return 1;
    }
    Aici este cand Ai Ales Skin-ul tau si trebuie sai bagi parola!
    public OnPlayerCommandText(playerid, cmdtext[])
    {
        if(!strcmp(cmdtext, "/unlock YOUR_PASS"))//Unde Este 'YOU_PASS' Pui Parola Care Vrei TU De Ex 'This Is My Skin'
        {
            Locked[playerid] = 0;
            SendClientMessage(playerid, -1, "Skins unlocked!");
        }
        return 1;
    }

    Tutorial By Zaster

  6. Deci Daca Vrei sa Bagi O casa Doar Coordonatele astea trb schimbate

    AddHouse(1, -2792.0032,218.5457,7.8594, 235.508994,1189.169897,1080.339966, 32, 0, 3, 0);

    Daca Ai Schimbat Coordonatele alea cu Coordonatele un vrei sa pui casa merge ;)

  7. Pai ar Trb sa faci asa

    [pawn]COMMAND:claninfo(playerid, params[])

    {

    new str[128];

    if(PlayerStat[playerid][ClanID] < 1) return SendClientMessage(playerid, -1, "You must be in a clan to use this command.");

    SendClientMessage(playerid, ClanStat[PlayerStat[playerid][ClanID]], "Online Clan Members:");

    for(new i = 0; i < MAX_PLAYERS; i++)

        {

    if(IsPlayerConnected(i) && PlayerStat[playerid][ClanID] == PlayerStat[ClanID])

    {

                format(str, sizeof(str), "%s, Rank %d.", GetName(i), PlayerStat[ClanRank]);

                SendClientMessage(playerid, ClanStat[PlayerStat[playerid][ClanID]], str);

            }

        }

        SendClientMessage(playerid, ClanStat[PlayerStat[playerid][ClanID]], "--------------------------------");

        return 1;

    }[/pawn]

  8. Salut Deci Am Sa va Arat Un Tutorial Cum sa Faci O FUnctie Mai Scurta

    Sa Incepem Prima Oara

    [pawn]#include <a_samp>[/pawn]

    Dupaia

    Va dau eu un exemplu aici :)

    [pawn]#define SPP SetPlayerPos[/pawn]

    am Facut Si O Comanda Pt voi sa Vedeti :)

    [pawn]#define SCM SendClientMessage

    #define SPH SetPlayerHealth

    #define SPA SetPlayerArmour

    #define SPD ShowPlayerDialog

    #define D_S_P DIALOG_STYLE_PASSWORD

    #define SGT SetGameModeText

    #define APC AddPlayerClass

    #define SPP SetPlayerPos

    #define SPCP SetPlayerCameraPos

    #define SPCL SetPlayerCameraLookAt

    #define GTFA GameTextForAll

    #define GPM GivePlayerMoney

    #define SPS SetPlayerScore

    #define PASFP PlayAudioStreamForPlayer

    #define SPSFP StopAudioStreamForPlayer

    #define CO CreateObject[/pawn]

    asa Acuma COmanda Cu Functiile

    [pawn]if (strcmp("/test", cmdtext, true, 10) == 0)

    {

    new string[200];

    SCM(playerid,-1,"Test Madafakaaaa");

    SPH(playerid,100);

    SPA(playerid,100);

    SPD(playerid,-1,D_S_P,"Test", string, "Ok", "Cancel");

    GPM(playerid,10000);

    SPS(playerid,10000);

    PASFP(playerid, "http://somafm.com/tags.pls");

    SPSFP(playerid);

    return 1;

    }[/pawn]

    OnGameModeInit

    [pawn]public OnGameModeInit()

    {

    SGT("Test Script");

    APC(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

    CO(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

    return 1;

    }[/pawn]

    [pawn]public OnPlayerRequestClass(playerid, classid)

    {

    SPP(playerid, 1958.3783, 1343.1572, 15.3746);

    SPCP(playerid, 1958.3783, 1343.1572, 15.3746);

    SPCL(playerid, 1958.3783, 1343.1572, 15.3746);

    return 1;

    }[/pawn]

    Cam Atat Este Tutorialu Deci ati inteles

    Puneti In Tot Deauna

    [pawn]#define Numele si Functia![/pawn]

    Sper Ca Va Ajutat :)

    See Yea :D

  9. Salut Am Creat un Fs Cu Comanda /v

    Pentru ca Multi am Vazut ca Cauta asa Ceva Si Pe Mess Am Primit Multe Masuri

    "hei Te Rog fami si mie /v Pliz"

    sau alti care au vrut sa creeze dar nu au reusit si leam zis ;)

    ca o sa fac eu si o sa-l postez ca-sa poata sal foloseasca :)

    Poze: t5rn9h.png

    FS-ul este testat de mine am testat toate masinile din dialog si nu am gasit nici un bug

    daca gasiti voi va rog sa lasati un Reply si sami ziceti carei Bugu

    Download: http://solidfiles.com/d/eb074e1010/download/

    Credits: Zaster

  10. Informations

    Este Un Fs In Care Daca Scri /tag Ati Apare Un Dialog Input !

    In Care Scri Ce Vrei Sa Fie Desupra Capului Tau!

    Apesi Pe Butonul "Enter"

    Si Sa Asezat Text-ul Deasupra capului tau! :)

    Poze nu am mai fct "Am uitat :)"

    Dar Merge Ca lam Testat Eu!

    Multumesc Lui ExTREME Pentru Ajutorul Acordat La Testarea acestui Fs :)

    Si Lu Zaster Pentru ca a facut acest Fs

    PWN Code:

    //Tag Description By Zaster
    //Another FileScript By Zaster!
    
    #include <a_samp>
    
    #define tag 1
    
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    	if (strcmp("/tag", cmdtext, true, 6) == 0)
    	{
            IsPlayerConnected(playerid);
    	    {
    	    ShowPlayerDialog(playerid, tag, DIALOG_STYLE_INPUT, "Tag Description", "{FF0000}Enter Your Tag Description:", "Enter", "Cancel");
    		}
            
    		return 1;
    	}
    
    	return 0;
    }
    
    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
    	if(dialogid == tag)
    	{
    	    if(response)
    	    {
    	        new Text3D:label = Create3DTextLabel(inputtext, 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
                Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
                SendClientMessage(playerid,-1,"{FF0000}Tag Description Has Been {FFF000}Inputed!");
               SendClientMessage(playerid,-1,"{FFF000}And Don't Forget This FS Has Been Created {FF0000}By Zaster!");
    
    		}
    		return 1;
    	}
    	return 0;
    }
    
    //The End!
    //See You Later Bitch )

  11. BasketBall Game

    Introduction.

    Este un Fs De Basket Game

    Adika Joci Basket Aproape Ca In Real!

    Doar Trebuie Sa Scri /basket Si ati Apare Mingea De Basket

    Cand Scri /basket Ati apare Automat Si Un 3dText Deasupra Capului!

    Photos.

    2j2fi1h.png

    [img width=500 height=375] scxtp4.png

    Special Thanks.

    RaZvaN - Pentru Ca Ma AJutat Sa Testez Fs-ul

    Vampir_MD - Pentru Ca Ma AJutat Sa Testez Fs-ul

    [C]redits.

    Zaster - Pentru Ca A Creat Acest FS

    [D]ownload.

    http://solidfiles.com/d/09b672855d/

    [T]he [E]nd!

  12. Salut

    Am Creat Si eu Un

    FileScript Cu un MAgazin de Droguri

    LOCATION: GROV!

    COMMANDS:

    /enter

    /exit

    /kanabis

    /marijuana

    /joint

    Credits: Zaster

    POZE:

    28lximw.png

    [img width=500 height=375] atkygp.png

    [img width=500 height=375] 2r4kgic.png

    [img width=500 height=375] comk6.png

    DOWNLOAD:

    //DRUG SHOp BY ZASTER
    //FUMATUL
    //POATE
    //UCIDE
    //=)
    
    #include <a_samp>
    #include <zcmd>
    #include <sscanf>
    
    
    
    
    public OnGameModeInit() {
        AddStaticPickup(1318, 1, 2475.4141,-1750.6168,13.5469);//Intrare
    	AddStaticPickup(1254, 1, 510.8924,-73.0858,998.7578);//Marijuana
    	AddStaticPickup(1254, 1, 511.2997,-74.7012,998.7578);//Kanabis
    	AddStaticPickup(1254, 1, 511.5041,-76.2415,998.7578);//JOINT
    	AddStaticPickup(1318, 1, 502.3821,-69.6744,998.7578);//iesire
        Create3DTextLabel("{ffffff}Scrie {ff0000}/enter {ffffff}Pentru a Intra In Magazinu De Droguri",0x008080FF,2475.4141,-1750.6168,13.5469,40.0,0);
        Create3DTextLabel("{ffffff}Scrie {ff0000}/marijuana {ffffff}Ca-sa fumezi O Marijuana",0x008080FF,510.8924,-73.0858,998.7578,40.0,0);
        Create3DTextLabel("{ffffff}Scrie {ff0000}/kanabis {ffffff}Ca-sa Fumezi un Kanabis",0x008080FF,511.2997,-74.7012,998.7578,40.0,0);
        Create3DTextLabel("{ffffff}Scrie {ff0000}/joint {ffffff}Ca-sa Fumezi Un Joint",0x008080FF,511.5041,-76.2415,998.7578,40.0,0);
        Create3DTextLabel("{ffffff}Scrie {ff0000}/exit {ffffff}Pentru a Iesi Din Magazin",0x008080FF,502.3821,-69.6744,998.7578,40.0,0);
        return 1;
    }
    
    public OnPlayerSpawn(playerid) {
        
        return 1;
    }
    
    COMMAND:enter(playerid, params[])
    {
      if(IsPlayerConnected(playerid))
     	{
    		if(IsPlayerInRangeOfPoint(playerid, 2.0, 2475.4141,-1750.6168,13.5469))//Aici Treabuie sa Pui Coordonatele de la Pickup alt fel nu poti folosi comanda 
    		{
    		SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Ai Intrat In Magazin-ul De Droguri");
    		SetPlayerPos(playerid,501.980987,-69.150199,998.757812);
    		SetPlayerInterior(playerid,11);
    		return 1;
    		}
    		else return SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Nu Esti In sageata de la magazin");
      	}
        else return SendClientMessage(playerid, 0x0259EAAA, "{FF0000}ERROR: {FFF000}Nu Esti In sageata de la magazin");
    }
    
    COMMAND:marijuana(playerid, params[])
    {
      if(IsPlayerConnected(playerid))
     	{
    		if(IsPlayerInRangeOfPoint(playerid, 2.0, 510.8924,-73.0858,998.7578))
    		{
    		SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Esti Nebun Fumezi Marijuana ");
    		SetPlayerSpecialAction(playerid,21);
    		return 1;
    		}
    		else return SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Trebuie Sa Fi In CheckPoint Pentru a Cumpara O Marijuana");
      	}
        else return SendClientMessage(playerid, 0x0259EAAA, "{FF0000}ERROR: {FFF000}Nu Esti In Checkpoint!");
    }
    
    COMMAND:kanabis(playerid, params[])
    {
      if(IsPlayerConnected(playerid))
     	{
    		if(IsPlayerInRangeOfPoint(playerid, 2.0, 511.2997,-74.7012,998.7578))
    		{
    		SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Esti Nebun Fumezi Kanabis");
    		SetPlayerSpecialAction(playerid,21);
    		return 1;
    		}
    		else return SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Trebuie Sa Fi In CheckPoint Pentru a Cumpara O Kanabis");
      	}
        else return SendClientMessage(playerid, 0x0259EAAA, "{FF0000}ERROR: {FFF000}Nu Esti In Checkpoint!");
    }
    
    COMMAND:joint(playerid, params[])
    {
      if(IsPlayerConnected(playerid))
     	{
    		if(IsPlayerInRangeOfPoint(playerid, 2.0, 511.5041,-76.2415,998.7578))
    		{
    		SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Esti Nebun Fumezi Joint ");
    		SetPlayerSpecialAction(playerid,21);
    		return 1;
    		}
    		else return SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Trebuie Sa Fi In CheckPoint Pentru a Cumpara O Joint");
      	}
        else return SendClientMessage(playerid, 0x0259EAAA, "{FF0000}ERROR: {FFF000}Nu Esti In Checkpoint!");
    }
    
    COMMAND:exit(playerid, params[])
    {
      if(IsPlayerConnected(playerid))
     	{
    		if(IsPlayerInRangeOfPoint(playerid, 2.0, 502.3821,-69.6744,998.7578))
    		{
    		SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Ai Iesit Afara Din Magazinu De Droguri ");
    		SetPlayerPos(playerid,2475.4141,-1750.6168,13.5469);
    		SetPlayerInterior(playerid,0);
    		return 1;
    		}
    		else return SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Trebuie Sa Fi In CheckPoint Pentru a Iesi Din Sageata");
      	}
        else return SendClientMessage(playerid, 0x0259EAAA, "{FF0000}ERROR: {FFF000}Nu Esti In Checkpoint!");
    }
    
    

    THE END!

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