Recent Posts

Pages: [1] 2 3 ... 10
1
Advertise your server! / Re: [NEW] GTA-Multiplayer.cz Server
« Last post by NNHILTHEPRO the old bubu on June 28, 2020, 02:43:12 pm »
First of all, it's your server which is fake. Filled with exploits and bugs. Better play on Liberty Roleplay, the original and first server which exist before yours even. IP: 167.71.40.207:2301

I doubt very much that it was the first, cz is super old, and besides with people like kewun managing it, I honestly prefer cz

you're right because kewun was a hacker -_- he hacked my 3 of my account
2
Advertise your server! / Re: [NEW] GTA-Multiplayer.cz Server
« Last post by NNHILTHEPRO the old bubu on June 28, 2020, 02:42:01 pm »
It is atleast being managed, fixed, and updated daily, what's wrong Kewun being the manager? You being banned for obvious reasons?  :D

kewunek?
he's a hacker man
last night he hacked my another account again
3
Script Snippets / Re: Aiming with Sniper Rifle (Script)
« Last post by theasl99 on June 27, 2020, 01:25:44 am »
Code: [Select]
sniper_shot <- array(128,false);
function ClearShot(plr) { if ( plr ) { sniper_shot[plr.ID] = false; } }
function onPlayerKeyStateChange( player, key, down )
{
    if (  key == KEY_ONFOOT_AIM && down  )
    {
        if (player.Weapon==7  && !sniper_shot[player.ID])
        {
            sniper_shot[player.ID] = true;
            player.SetAnim(50);
            NewTimer(ClearShot,800,1,player); // prevent anim spam
        }
    }
}

Saved it as script.nut, <script file="script.nut" client="0" /> in Script.xml

Nice, the script works better than my piece of script on server side, congratulations, Close topic
4
Script Snippets / Re: Aiming with Sniper Rifle (Script)
« Last post by theasl99 on June 27, 2020, 01:13:09 am »
Code: [Select]
sniper_shot <- array(128,false);
function ClearShot(plr) { if ( plr ) { sniper_shot[plr.ID] = false; } }
function onPlayerKeyStateChange( player, key, down )
{
    if (  key == KEY_ONFOOT_AIM && down  )
    {
        if (player.Weapon==7  && !sniper_shot[player.ID])
        {
            sniper_shot[player.ID] = true;
            player.SetAnim(50);
            NewTimer(ClearShot,800,1,player); // prevent anim spam
        }
    }
}

Saved it as script.nut, <script file="script.nut" client="0" /> in Script.xml

PERFECT, I like when they improve what is done, and not only do they criticize, now I try that piece of script, there is a bug in the piece that I put.
when you grab the sniper pickup, and you shoot the animation doesn't work, but when you change weapons if it works.
5
Scripting Discussion / Re: Which is better? XML or ini?
« Last post by Eclipse2G on June 25, 2020, 06:28:03 pm »
twoj stary
6
Advertise your server! / Re: [NEW] GTA-Multiplayer.cz Server
« Last post by Eclipse2G on June 25, 2020, 02:05:15 pm »
It is atleast being managed, fixed, and updated daily, what's wrong Kewun being the manager? You being banned for obvious reasons?  :D
7
Script Snippets / Re: Aiming with Sniper Rifle (Script)
« Last post by Eclipse2G on June 25, 2020, 02:02:28 pm »
Code: [Select]
sniper_shot <- array(128,false);
function ClearShot(plr) { if ( plr ) { sniper_shot[plr.ID] = false; } }
function onPlayerKeyStateChange( player, key, down )
{
    if (  key == KEY_ONFOOT_AIM && down  )
    {
        if (player.Weapon==7  && !sniper_shot[player.ID])
        {
            sniper_shot[player.ID] = true;
            player.SetAnim(50);
            NewTimer(ClearShot,800,1,player); // prevent anim spam
        }
    }
}

Saved it as script.nut, <script file="script.nut" client="0" /> in Script.xml
8
Script Snippets / Re: Aiming with Sniper Rifle (Script)
« Last post by Eclipse2G on June 25, 2020, 01:58:23 pm »
client="0" in xml means its Server Side, client="1" means its client side. I dont get it how does this work for you while its on client side. It shouldnt.
9
Script Snippets / Re: Aiming with Sniper Rifle (Script)
« Last post by theasl99 on June 25, 2020, 12:45:57 pm »
The script is Server Side, not Client Side.

Okay, I just test it on the server side and it doesn't work, it stays on the client.
10
Script Snippets / Re: Aiming with Sniper Rifle (Script)
« Last post by theasl99 on June 25, 2020, 12:32:17 pm »
The script is Server Side, not Client Side.

Okay, although it is rare that it works without problems on the client side.
Pages: [1] 2 3 ... 10
© Liberty Unleashed Team.