Leš sistem

Započeo Nodze, Maj 17, 2018, 02:17:57 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Tip: Filterskripta
Slike ili Video: Nisam imao vremena, pakujem se, sutra idem, pa nisam mogao,Kada stavite fs sami testajte :D
Opis i dodatne informacije: Leš sistem, nisam nikoga kopirao, sad Ce neki kazu nisi radio kao po UP-u itd, radio sam po svojoj skripti, vi denifisite kako je Vasa skripta, Može poslužit početnicima u njihovim modovima. Nisam dodavao nešto previše, već obične stvari, neću ja sve servirat. Malo se potrudite :P E, da. Možda i bude nekih novih Update-a. ali vidjećemo!
Download link: https://hastebin.com/inasijoxeb.cpp
Scan link: Hastebin je  :P
Credits: Nodze (Dzenan Levic) - tj: Ja

Gamemod: Spotify Community
Owner: Nodze ( Dzenan Levic )

Pola na engleskom, pola los prijevod.


bilo je lijepo dok je trajalo.


Ovo na Engleskom skino si sa neta i kao fol nesto preveo
Es ist nicht alles Gold, was glänzt

Citat: Bašovski poslato Maj 17, 2018, 10:07:23 PRE PODNE
Pola na engleskom, pola los prijevod.
Inace sve sto radim, vecinom mesam engl, lakse mi radit  :D :D

Gamemod: Spotify Community
Owner: Nodze ( Dzenan Levic )

Citat: Nodze poslato Maj 17, 2018, 10:29:17 PRE PODNE
Inace sve sto radim, vecinom mesam engl, lakse mi radit  :D :D

Takve fore ovdje ne pale.  ;)

Samp Forums ...
Scripter - Ventura Project
Ventura Project IP: 91.134.193.97:7790


• Sve sam u stanju da pustim da ide
Nisam od onih što svima se svide. •



Citat: Djolenzy poslato Maj 17, 2018, 21:44:09 POSLE PODNE
https://imgur.com/oaNN5iZ Nece da otvori?  ???
Evo ovako
[pawn] //~~~~~~~~~LEÅ  System by Nodze.

// Include
#include <a_samp>
// Define
#define DIALOG_CMENU        1
#define DIALOG_CINFO        2
#define DIALOG_CSTEAL       3
// Enum
enum CDATA{
ActorID,
Text3D:LabelID,
Name[MAX_PLAYER_NAME],
SkinID,
Money,
Interior,
World,
Float:Pos[4]
};
new cActor[MAX_PLAYERS][CDATA];

#define FILTERSCRIPT
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
    print("\n____________________________________");
    print(" | Napravi sys: Nodze© |");
    print("____________________________________\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#endif

public OnPlayerDisconnect(playerid, reason)
{
    DestroyActor(cActor[playerid][ActorID]);
    Delete3DTextLabel(cActor[playerid][LabelID]);
    format(cActor[playerid][Name], 24, "");
    cActor[playerid][Pos][0] = 0.0;
    cActor[playerid][Pos][1] = 0.0;
    cActor[playerid][Pos][2] = 0.0;
    cActor[playerid][Pos][3] = 0.0;
    cActor[playerid][SkinID] = 0;
    cActor[playerid][Money] = 0;
    cActor[playerid][Interior] = 0;
    cActor[playerid][World] = 0;
    cActor[playerid][ActorID] = 0;
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    if(!strcmp(cActor[playerid][Name], ""))
    {
        DestroyActor(cActor[playerid][ActorID]);
        Delete3DTextLabel(cActor[playerid][LabelID]);
    }
    new string[100];
    GetPlayerName(playerid, cActor[playerid][Name], 24);
    GetPlayerPos(playerid, cActor[playerid][Pos][0],cActor[playerid][Pos][1], cActor[playerid][Pos][2]);
    GetPlayerFacingAngle(playerid, cActor[playerid][Pos][3]);
    cActor[playerid][SkinID] = GetPlayerSkin(playerid);
    cActor[playerid][Money] = GetPlayerMoney(playerid);
    cActor[playerid][Interior] = GetPlayerInterior(playerid);
    cActor[playerid][World] = GetPlayerVirtualWorld(playerid);

    cActor[playerid][ActorID] = CreateActor(cActor[playerid][SkinID],cActor[playerid][Pos][0],cActor[playerid][Pos][1],cActor[playerid][Pos][2],cActor[playerid][Pos][3]);
    SetActorHealth(cActor[playerid][ActorID], 0);
    ApplyActorAnimation(cActor[playerid][ActorID], "PED", "FLOOR_hit_f", 4.1, 0, 1, 1, 1, 0);
    format(string, sizeof(string), "Les:%s | Actor ID:%d", cActor[playerid][Name], cActor[playerid][ActorID]);
    cActor[playerid][LabelID] = Create3DTextLabel(string, 0xFFFFFFFF, cActor[playerid][Pos][0], cActor[playerid][Pos][1], cActor[playerid][Pos][2], 10.0, cActor[playerid][World], 1);
    return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys & KEY_CROUCH)
    {
        if(!IsPlayerInAnyVehicle(playerid))
        {
            for(new i=0;i < MAX_PLAYERS;i++)
            {
                if(GetPlayerVirtualWorld(playerid) == cActor[World])
                {
                    if(GetPlayerInterior(playerid) == cActor[Interior])
                    {
                        if(IsPlayerInRangeOfPoint(playerid, 1.0, cActor[Pos][0],cActor[Pos][1], cActor[Pos][2]))
                        {
                            new string[60];
                            format(string, sizeof(string), "((Les: %s))", cActor[Name]);
                            ShowPlayerDialog(playerid, DIALOG_CMENU, DIALOG_STYLE_LIST, string, "Information\n Plunders corpse\n", "Select", "Cancels");
                            break;
                        }
                    }
                }
            }
        }
    }
    return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(response)
    {
        switch(dialogid)
        {
            case DIALOG_CMENU:
            {
                switch(listitem)
                {
                    case 0:
                    {
                        for(new i=0;i < MAX_PLAYERS;i++)
                        {
                            if(GetPlayerInterior(playerid) == cActor[Interior])
                            {
                                if(IsPlayerInRangeOfPoint(playerid, 1.0, cActor[Pos][0],cActor[Pos][1], cActor[Pos][2]))
                                {
                                    new string[40], string2[256];
                                    format(string, sizeof(string), "(Les: %s))", cActor[Name]);
                                    format(string2, sizeof(string2), "((Name:%s))\n Money:%d\n", cActor[Name], cActor[Money]);
                                    ShowPlayerDialog(playerid, DIALOG_CINFO, DIALOG_STYLE_MSGBOX, string, string2, "OK", "Back");

                                }
                            }
                        }
                    }
                    case 1:
                    {
                        for(new i=0;i < MAX_PLAYERS;i++)
                        {
                            if(GetPlayerInterior(playerid) == cActor[Interior])
                            {
                                if(IsPlayerInRangeOfPoint(playerid, 1.0, cActor[Pos][0],cActor[Pos][1], cActor[Pos][2]))
                                {
                                    new string[40];
                                    format(string, sizeof(string), "((Les: %s))", cActor[Name]);
                                    ShowPlayerDialog(playerid, DIALOG_CSTEAL, DIALOG_STYLE_MSGBOX, string, "ŽeliÅ¡ li ukrasti novac od leÅ¡a?", "Da", "Ne");
                                }
                            }
                        }
                    }
                }
            }
            case DIALOG_CSTEAL:
            {
                for(new i=0;i < MAX_PLAYERS;i++)
                {
                    if(GetPlayerInterior(playerid) == cActor[Interior])
                    {
                        if(IsPlayerInRangeOfPoint(playerid, 1.0, cActor[Pos][0],cActor[Pos][1], cActor[Pos][2]))
                        {
                            new string[120];
                            format(string, sizeof(string), "Plijenio si leÅ¡((%s)) i dobijes %d $.", cActor[Name], cActor[Money]);
                            SendClientMessage(playerid, -1, string);
                            GivePlayerMoney(playerid, cActor[Money]);
                            cActor[Money] = 0;
                        }
                    }
                }
            }
        }
    }
    else
    {
        switch(dialogid)
        {
            case DIALOG_CINFO:
            {
                for(new i=0;i < MAX_PLAYERS;i++)
                {
                    if(GetPlayerVirtualWorld(playerid) == cActor[World])
                    {
                        if(GetPlayerInterior(playerid) == cActor[Interior])
                        {
                            if(IsPlayerInRangeOfPoint(playerid, 1.0, cActor[Pos][0],cActor[Pos][1], cActor[Pos][2]))
                            {
                                new string[60];
                                format(string, sizeof(string), "((Les: %s))", cActor[Name]);
                                ShowPlayerDialog(playerid, DIALOG_CMENU, DIALOG_STYLE_LIST, string, "Informacije\n Opljackaj Les\n", "Select", "Cancels");
                                break;
                            }
                        }
                    }
                }
            }
        }
    }
    return 1;
}
[/pawn]

Gamemod: Spotify Community
Owner: Nodze ( Dzenan Levic )


Moderator: 2018 (( Development ))
Moderator: 2019 (( Forumske igre ))

Dosadni ste sa pola engleski pola ovo koliko vidim les sistem,sistem kofera i ovo ima jebeno 3 razlicita koda :) Jos si preuzeo sve zasluge a samo je dodat objekat snega sto msm da ti nisi radio provericu jos jednom ako nadjem makar istu brojku Lock
[pawn]
= Ex Owner & Developer у Acuzio Gaming Online Community
= Ex Developer у Perfect Gaming Community
= Ex Developer у Smart Project Community
= Ex Developer у Athlone Community[/pawn]