Jump to content

MrBoo

Member
  • Posts

    43
  • Joined

  • Last visited

Reputation Activity

  1. Upvote
    MrBoo reacted to Arabu in [Include] TimestampToDate   
    TimestampToDate & DateToTimestamp
    Hello,

    Unix Timestamps for beginners
    For those who are not familliar with Unix Timestamps, take a look at Wikipedia (press the link).

    Introduction
    Today, I'll present one of my new works: TimestampToDate. This library is able to convert your specified timestamp to a date.

    - Timezone supported.
    - Leap years supported.
    - Easy to use

    The syntaxes are as followed:

    Explanation
     
    stock TimestampToDate(Timestamp, &year, &month, &day, &hour, &minute, &second, HourGMT, MinuteGMT = 0) Notice the last two parameters. GMT is the timezone in which we live. It's taken as the standard timezone. You should only fill in MinuteGMT if you live in a timezone which has for example: 6.5.

    The year, month, day, hour, minute and second parameters should be filled in like you do in getdate and gettime.

    Since v2.0, this library contains a new stock: DateToTimestamp. I will explain this as well.
     
    stock DateToTimestamp(str[11]) You could compare this with strtotime/mktime in PHP. The only parameter is a string, which is the date that should be converted to a timestamp. It should be in the following format: 06.04.2013. The "." here is the splitter. It can be changed to any character you wish (as long as you don't use numeric characters, it will probably work). It should be changed by redefining "#SPLITTER" after including this library.

    Download
    v2.0 --> This is the hidden content, please Sign In or Sign Up
    Example --> This is the hidden content, please Sign In or Sign Up

    Instalation
    - Open the link and press RAW.
    - Copy all text and save it right here: "server_dir/pawno/includes" under filename: TimestampToDate.inc.
    - Add "#include <TimestampToDate>" in the script you'd like to use it (gamemode?).
  2. Like
    MrBoo reacted to Arabu in [FS] CS:GO Case Opening V 2.0   
    Autor : Mister
     
    Salut, cu ceva timp in urma am postat un video in care va intrebam si va ceream cateva sfaturi despre un sistem de case opening. Am abandanot "proiectul" pentru o perioada iar zilele acestea m am reapucat si dupa ce l am terminat si finisat, m am gandit sa il postez, de ce? de ce nu. 
     
     Descriere:   
    Sistemul este realizat in intregime de mine (asa lucrez eu indiferent, nu mai lucrez la comun sau la edit)
    V 1.0 Prima versiune se putea utiliza doar de un player plus optimizare si cod scris prost, am postat la imagini si video acum ceva timp
    Functioneaza pentru mai multi playeri in acelasi timp
    5 tipuri de iteme:  Common 48% UnCommon 23% Rare 16%  Ultra Rare 11% Legendary 2%  
    Sistemul este inspirat din CS:GO 
    Sunete ca in CS:GO atunci cand se trece peste iteme si 3 sunete distincte pentru primele 3 clase de iteme 
    Nu aveti nevoie de streamer este creat doar din obiecte globale
    Obiectele sunt create la 700metri deasupra playerului deci nu pot incurca
    Sistemul nu contine textdrawuri deoarece asa ceva nu se poate realiza din acestea desi da impresia
    210 obiecte vor fi create pentru fiecare player care deschide o cutie si vor fi distruse imediat dupa
    Numele Cantitatea si Itemele care pot fi castigate la cutie pot fi usor modificate
    Destul de ordonat, optimizat si bine aranjat zic eu pentru 300 de linii de cod dar oriunde e loc de mai bine
    Pastebin : This is the hidden content, please Sign In or Sign Up
    Download pawn : This is the hidden content, please Sign In or Sign Up
    VirusTotal : https://www.virustotal.com/ro/url/18b1927e676a625a04c5ff6435c34398c86a0767893fb81c49ededb3277bd567/analysis/1536017014/
    Video : 
     
  3. Like
    MrBoo reacted to Allxseiggen in Gamemode - Maldavski Republik (gamemode de la 0, good version)   
    Username: Allxseiggen
    Nume gamemode: Maldavski Republik
    Creator (sau editor): Allxseiggen
    Poze/Video în care prezinți modul de joc: - Mai jos
    Link Virustotal: - Mai jos
    Link download: - Mai jos
    Alte precizări:
    - Salutare comunitate, am sa incerc sa scriu cat mai putin asa ca sa-i dam bataie.
    - Am inceput lucrul la acest GM prin septembrie de la 0, si am lucrat cam 3-4 luni cu mari pauze.
    - Am decis sa-l postez deoarece nu mă mai regăsesc în sa-mp și credcă pot face lucruri mai bune.
    - GM-ul are cam toate sistemele dinamice, totul se poate editat direct din joc, nu este gata, mai este de lucrat.
     
    - Probleme:
    Nu tin minte sa aiba vo una.
     
    Niste poze cu GM-ul.
     
    - + multe altele.
     
    - Mult spor cu el, are niste sisteme gandite bine
     
    Download:

    This is the hidden content, please Sign In or Sign Up
×
×
  • Create New...