Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - kennedyarz
1
Script and Content Requests / Re: I need Some Commands
« on November 5th, 2018, 10:30 AM »
Quote from Rardodus Bruise on November 4th, 2018, 04:23 PM
Thanks Bro!
Code: [Select]
else if(cmd == "gps") MessagePlayer("Vector: "+player.Pos,player);
2
Snippet Showroom / Re: GTA Vice-City: Cheats.
« on July 11th, 2018, 07:25 PM »
Quote from Mahmoud Tornado on July 11th, 2018, 05:46 PM
Code: [Select]
if ( text == "bigbang")
    {
    CreateExplosion( player.World, 0, player.Pos.x +10, player.Pos.y +10, player.Pos.z, -1, true );
    CreateExplosion( player.World, 0, player.Pos.x +10, player.Pos.y, player.Pos.z, -1, true );
    CreateExplosion( player.World, 0, player.Pos.x, player.Pos.y +10, player.Pos.z, -1, true );
    CreateExplosion( player.World, 0, player.Pos.x +7, player.Pos.y +7, player.Pos.z, -1, true );
    CreateExplosion( player.World, 0, player.Pos.x +7, player.Pos.y, player.Pos.z, -1, true );
    CreateExplosion( player.World, 0, player.Pos.x, player.Pos.y +7, player.Pos.z, -1, true );
    }
hahahaha what you do. my eyes bleed
3
Scripting and Server Management / Re: ban system problem
« on July 7th, 2018, 06:52 PM »
Quote from Athanatos on July 5th, 2018, 07:22 AM
Or even INI.
that is crap that's why I do not name

4
Scripting and Server Management / Re: ban system problem
« on July 5th, 2018, 01:23 AM »
That ban system is very insecure. It is easy to evade. You can also make your own ban system in a very easy way adding more security

Code: [Select]
Name, Ip, UID, UID2

It is quite easy. you just have to know how to use sqlite http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions#SQLite_Functions_.28In_the_.22SQLite.22_plugin.29

or MYSQL
http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions#MySQL_Functions_.28In_the_.22MySQL.22_plugin.29
5
Support / Re: Other error
« on July 5th, 2018, 12:39 AM »
la verdad es que dan pena formando siempre alboroto en este foro.  It is also a forum in English. And alex, you are not talking about professionals and novices because the 2 are very beginners and still have a lot to learn
6
Script and Content Requests / Re: Where is the error?
« on July 2nd, 2018, 01:24 PM »
Quote from KrooB on July 2nd, 2018, 12:39 PM
Where is the worng ?

Code: [Select]
spam <- array(GetMaxPlayers(), 0 );

function spam(player)
{
local player=FindPlayer(player);
if(player)
{
spam[player.ID] = 1;
}
}

else if (cmd == "arava")
{
if(spam[player.ID] == 5 ) MessagePlayer("Dont Spam!",player);
else if {
spam[player.ID]++;
player.Health = 100;
NewTimer( "spam", 5000, 0, player.Name );
}
you forgot the closing in the command

use

Code: [Select]
else if (cmd == "arava")
    {
        if(spam[player.ID] == 5 ) MessagePlayer("Dont Spam!",player);
        else
{
        spam[player.ID]++;
        player.Health = 100;
        NewTimer( "spam", 5000, 0, player.Name );
        }
}
7
Bugs and Crashes / [BUG] Re: game_radar_scale setting has no effect
« on July 1st, 2018, 04:54 AM »
Quote from PunkNoodle on July 1st, 2018, 04:13 AM
Reproducible
Always

What you were doing when the bug happened
Testing this new setting, I've got the message telling me the value applied, but no visible effect. F9 key neither has effect nor I get any message at all.
Is it doing it in a server version 04rel006?
it only works for that version I guess
8
Bugs and Crashes / Re: onPlayerStateChange
« on June 30th, 2018, 02:37 PM »
and what kind of reports do you expect? is more used for functions Distance from point to point I suppose. such as executing an action when you are near a point.
Example:

Code: [Select]
function onScriptLoad()
{
BankIcon <- array(100, null );
}
 
function onPlayerStateChange( player, oldState, newState )
{
if(DistanceFromPoint( player.Pos.x, player.Pos.y,-908.874,-342.258)<50)
{
if(BankIcon[player.ID]==null) BankIcon[player.ID]=CreateMarker(player.UniqueWorld, Vector(-908.874,-342.258,10), 1, RGB(0, 0, 0),24);
}
if(DistanceFromPoint( player.Pos.x, player.Pos.y,-908.874,-342.258)>50)
{
if(BankIcon[player.ID]!=null) DestroyMarker(BankIcon[player.ID]),BankIcon[player.ID]=null;
}
}

which creates an icon when you're near the bank and disappears when you get away
9
Script Showroom / Re: Vehicle System
« on June 29th, 2018, 06:06 PM »
Code: [Select]
else if ( cmd == "buycar" )
{
if ( !text ) MessagePlayer("Use /"+cmd+" <Veh/ID>.", player);
else if ( !IsNum( text ) ) MessagePlayer("ID Must be numbers.", player );
else if ( !IsVehForSale( text ) ) MessagePlayer("This vehicle is not for sale.", player );
else {
local q = QuerySQL( Vehicles, "SELECT * FROM Sale WHERE ID='"+text+"'" );
local Cost = GetSQLColumnData( q, 1 );
if ( player.Cash < Cost ) MessagePlayer("Not enought money.", player );
else
{
QuerySQL( Vehicles, "UPDATE Sale SET Owner='"+player.Name+"' WHERE ID='"+text+"'" );
MessagePlayer( "You have bought Vehicle ID "+text+".", player );
DecCash( player, Cost );
}
}
}

paste this in a place that is not commands since it is a different function ... and change what you use. Stats[, status[, Status[...  ]Cash ,]Money .....
Idk your script

Code: [Select]
function DecCash( player, amount )
{
local cash = Stats[ player.ID ].Cash;
local det = cash - amount;
Stats[ player.ID ].Cash = det;
player.Cash = det;
}
10
General Discussion / Re: is it UID?
« on June 29th, 2018, 05:50 PM »
Quote from vitogta on June 29th, 2018, 05:44 PM
Quote from kennedyarz on June 29th, 2018, 05:40 PM
So why do you want to know if you have anti cheats or not?

LOL
Every good scirpter having his-own aimbot https://www.youtube.com/watch?v=_07IZp0f5lc
causes laughter the first comment


Code: [Select]
* Ervinkiller*
all dislike no link
11
General Discussion / Re: Temporary new masterlist
« on June 29th, 2018, 05:43 PM »
Quote from vitogta on June 29th, 2018, 05:40 PM
Quote from Stormeus on June 29th, 2018, 05:37 PM
Quote from vitogta on June 29th, 2018, 05:36 PM
Technically it's possible via updates. I just want to know, can I do that without expecting any bans or not?
I already answered your question. If we didn't want people to be able to switch to a different server, why would we have given you the option in the first place?
In case if official master list won't be available for example. Forking alive masterlist is another case. So it's allowed?
suppose so ... because if that happens it's because the developers are off. therefore, nothing should be downloaded. since there are no updates (but this is for the case OFF). Players join easily :)
12
General Discussion / Re: is it UID?
« on June 29th, 2018, 05:40 PM »
Quote from MEGAMIND on June 29th, 2018, 09:40 AM
Quote from Athanatos on June 29th, 2018, 09:15 AM
Quote from MEGAMIND on June 29th, 2018, 07:52 AM
aaaaaa right so one thing more does the version rel006 has an antihacks protecction too?
so we dont have to deal with the hackers by our selves
I don't think so.
rel006 doesnt have builtin antihacks?
So why do you want to know if you have anti cheats or not?

LOL
13
General Discussion / Re: Temporary new masterlist
« on June 29th, 2018, 05:29 PM »
Quote from vitogta on June 29th, 2018, 05:25 PM
Quote from Stormeus on June 29th, 2018, 05:04 PM
Please don't fork the masterlist and update server within 12 hours of an issue being reported, it creates unnecessary fragmentation.
Do you disallowing to use non-official master lists? I'm going to announce in my own masterlist only and share it to players of my server to use instead official. Will you ban it? Just to make it clear.
You always trying to provoke. "IT IS NOT THAT THIS IS PROHIBITED (ALTHOUGH HERE SHOULD HAVE TO CREATE CONFUSION BETWEEN USERS).
LOL
14
General Discussion / Re: Temporary new masterlist
« on June 29th, 2018, 05:11 PM »
Quote from EK.IceFlake on June 29th, 2018, 05:09 PM
Quote from Stormeus on June 29th, 2018, 05:04 PM
Please don't fork the masterlist and update server within 12 hours of an issue being reported, it creates unnecessary fragmentation.
Not a last-minute fork, that masterlist was alive for months. Got a nice opportunity to advertise it lol.
Oh I thought it was temporary
15
General Discussion / Re: Temporary new masterlist
« on June 29th, 2018, 05:10 PM »
I really do not like topics like this because you have confused people. While the developers are active, they should only inform and not create diversion problems. since everything he says is before anything else is to confuse people and never achieve anything ... if they are active they solve it quickly. But it's good intention Thx