Jump to content

ShoWer_Fresh

Membru
  • Posts

    24
  • Joined

  • Last visited

    Never

Posts posted by ShoWer_Fresh

  1. Buna Ziua, :D

    Azi va voi arata cum sa va faceti un sistem de minigun.

    Il puteti adauga in gm sau in alte filtescript-uri

    Sa incepem:

    Pasul 1:

    Puneti Asta la inceputul fs-ului/gm-ului

    Cod:

    #include <zcmd>
    Explicatie:Vom folosi procesorul de comenzi ZCMD creeat de Zeex Cod:
    new inDM[MAX_PLAYERS];
    Explicatie:Aceasta Variabila ne va ajuta sa vedem daca jucatorul este in dm sau nu. Pasul 2: Apasati ctrl+f si scrieti public OnPlayerConnectsi scrieti sub callback(OnPlayerConnect) asta: Cod:
         inDM[playerid] = 0; 
    Explicatie:Cu aceasta comanda vom reseta variabila.(Adica jucatorul nu va fi in dm cand se spawneaza) Pasul 3: Acum adaugati comenzile acestea langa celalalte Comenzi: Cod:
    CMD:minigun(playerid, params[])
    {
            
        if(inDM[playerid] == 1) return SendClientMessage(playerid, -1, "Nu poti folosi comenzi in dm.Foloseste /exitdm pentru a iesi.");
        if(IsPlayerInAnyVehicle(playerid)) RemovePlayerFromVehicle(playerid);
        ResetPlayerWeapons(playerid);
        GivePlayerWeapon(playerid,38 , 9999);
        SetPlayerFacingAngle(playerid, 0.0);
        SetPlayerPos(playerid,Float:x,Float:y,Float:z)
        inDM[playerid] = 1;
       	SetPlayerInterior(playerid, 0);
        return 1;
    }
    Explicatie:Cu aceasta comanda ne putem teleporta in dm. IMPORTANT:Inlocuiti Float:x,Float:y si Float:Z cu coordonatele Mapei de Minigun. Code:
    CMD:exitdm(playerid, params[])
    {
        if(inDM[playerid] == 0) return SendClientMessage(playerid, -1, "Nici nu erai in dm.");
    	ResetPlayerWeapons(playerid);
    	inDM[playerid] = 0; // player is in DM
    	SetPlayerPos(playerid,Float:x,Float:y,Float:z)
    	return 1;
    }
    Explicatie:Prin Aceasta comanda iesim din DM. IMPORTANT:Inlocuiti Float:x,Float:y si Float:Z cu coordonatele unde ati vrea sa fie teleportat jucatorul cand iese din DM, Si in final : Pasul 4: Apasati ctrl+f si scrieti public OnPlayerSpawn scrieti sub callback(OnPlayerSpawn) asta:
       if(inDM[playerid] == 1)
        {
        GivePlayerWeapon(playerid,38 , 9999);
        SetPlayerFacingAngle(playerid, 0.0);
        SetPlayerPos(playerid,Float:x,Float:y,Float:z)
        inDM[playerid] = 1; // player is in DM
       	SetPlayerInterior(playerid, 0);
    
         return 1;
        }

    Explicatie:Asta il va spawna pe player in DM daca moare si nu a scris /exitdm

    IMPORTANT:Inlocuiti Float:x,Float:y si Float:Z cu coordonatele Mapei de Minigun.

    Daca am scris ceva gresit/nu am explicat ceva/am multe greseli gramaticale sa-mi spuneti.

    fal in pwn si dami un link plz

  2. Buna Seara!Azi de plictiseala am facut un textdraw!

    Poza:1382024493-sa-mp-000.png

    [pawn]new Text:Textdraw0;

    new Text:Textdraw1;

    new Text:Textdraw2;

    //Textdraw0

    Textdraw0 = TextDrawCreate(148 ,386 , "Romania");

    TextDrawFont(Textdraw0 , 0);

    TextDrawLetterSize(Textdraw0 , 1, 7);

    TextDrawColor(Textdraw0 , 0x0015ffFF);

    TextDrawSetOutline(Textdraw0 , true);

    TextDrawSetProportional(Textdraw0 , true);

    TextDrawSetShadow(Textdraw0 , 1);

    //Textdraw1

    Textdraw1 = TextDrawCreate(264 ,390 , "Boss");

    TextDrawFont(Textdraw1 , 0);

    TextDrawLetterSize(Textdraw1 , 0.9, 6.3);

    TextDrawColor(Textdraw1 , 0xffff00FF);

    TextDrawSetOutline(Textdraw1 , true);

    TextDrawSetProportional(Textdraw1 , true);

    TextDrawSetShadow(Textdraw1 , 1);

    //Textdraw2

    Textdraw2 = TextDrawCreate(350 ,389 , "Stunt");

    TextDrawFont(Textdraw2 , 0);

    TextDrawLetterSize(Textdraw2 , 1, 7);

    TextDrawColor(Textdraw2 , 0xff0000FF);

    TextDrawSetOutline(Textdraw2 , true);

    TextDrawSetProportional(Textdraw2 , true);

    TextDrawSetShadow(Textdraw2 , 1);

    [/pawn]

    sau donwload: [download]http://www.fileshare.ro/e29929383[/download]

  3. Nume:ShoWer_Fresh

    Nume tutorial:cum sa bagi un textdraw si sa se vada la toti playeri

    Descriere:pai as vrea un tutorial cum sa bag un text draw si sa vada playeri in joc

    am facut un text draw :

    [pawn]new Text:Textdraw0;

    Textdraw0 = TextDrawCreate(159 ,431 , "Romania");

    TextDrawFont(Textdraw0 , 0);

    TextDrawLetterSize(Textdraw0 , 1, 7);

    TextDrawColor(Textdraw0 , 0x3c00ffFF);

    TextDrawSetOutline(Textdraw0 , true);

    TextDrawSetProportional(Textdraw0 , true);

    TextDrawSetShadow(Textdraw0 , 1);

    new Text:Textdraw1;

    Textdraw1 = TextDrawCreate(324 ,425 , "Stunt");

    TextDrawFont(Textdraw1 , 0);

    TextDrawLetterSize(Textdraw1 , 1, 7);

    TextDrawColor(Textdraw1 , 0xeeff00FF);

    TextDrawSetOutline(Textdraw1 , true);

    TextDrawSetProportional(Textdraw1 , true);

    TextDrawSetShadow(Textdraw1 , 1);

    new Text:Textdraw2;

    Textdraw2 = TextDrawCreate(445 ,427 , "Capital");

    TextDrawFont(Textdraw2 , 0);

    TextDrawLetterSize(Textdraw2 , 1, 7);

    TextDrawColor(Textdraw2 , 0xff0000FF);

    TextDrawSetOutline(Textdraw2 , true);

    TextDrawSetProportional(Textdraw2 , true);

    TextDrawSetShadow(Textdraw2 , 1);[/pawn]

    il bag la on game mode int  pornesc serverul intru pe el si numi apare de ce  ajutatima va rog!!

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