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 - AroliS^
16
Snippet Showroom / Re: Account System
« on May 16th, 11:16 PM »
Quote from =RK=MarineForce on May 16th, 03:26 AM
bro kelvin how can i made setkills or setdeaths?

let me try i belive i can make it.
i believe so :D.
17
Support / Re: Connect server failed
« on April 25th, 02:51 AM »
English Forum!
18
General Discussion / Re: Vice City Multiplayer
« on April 23rd, 08:29 PM »
Quote from [SK]Kelvin on April 23rd, 08:23 PM
Quote from Athanatos on April 23rd, 06:58 PM
4. People don't simply care for an old game like VC.
I sincerely don’t know what are you doing here

I see all your posts here are about you complaining how old is this, how old is that



if you really like something, it’s okay, no matter how old it is, it absolutely means nothing
I agree with you :'D what he is doing here, All he does is to bring negativity to the game and to the new players.
19
General Discussion / Re: Vice City Multiplayer
« on April 23rd, 08:21 PM »
5. It could be better but there're people like Athanatos that are always typing shit :')
20
Servers / [0.4] Re: Brasil Real RPG/DM
« on April 15th, 11:11 PM »
Come on you guys, stop talking shit.. This is one of the greatest vcmp's servers, if you got banned is because you didn't follow the rules....
22
Community Plugins / Re: Discord
« on March 8th, 10:48 PM »
a simple guide for making the token and it show how to create a bot to run this plugin - https://github.com/Chikachi/DiscordIntegration/wiki/How-to-get-a-token-and-channel-ID-for-Discord
23
Support / Re: findmemberclan something wrong with it?
« on February 27th, 11:47 PM »
oh yeah, thank u for fixed it up..
24
Support / Re: findmemberclan something wrong with it?
« on February 26th, 02:03 AM »
solved, thank u so much !!
25
Support / Re: findmemberclan something wrong with it?
« on February 25th, 12:47 AM »
no work!  now either accounts are detected as members
26
Servers / Re: ..:[RPG]:Vice-City::..::Real-Life:[RPG]::.
« on February 24th, 10:55 PM »
Buen server, ya lo he probado esta quedando estupendo :D.!!
27
Support / findmemberclan something wrong with it?
« on February 24th, 08:39 PM »
this is a simple function to find clan members that i made

function FindMemberClan( player )
{
local q = QuerySQL( clanstat, "SELECT * FROM ClanUsers WHERE Clans LIKE '"+GetTag( player.Name )+"'" );
if ( q )
{
if (  GetSQLColumnData( q, 1 ) == player.Name )
{
 _MessagePlayer( white+"[ "+pink+GetTag( player.Name )+white+" ]- MEMBER: "+purple+TruncateClan( player.Name )+"", white+"[ "+pink+GetTag( player.Name )+white+" ]- MIEMBRO: "+purple+TruncateClan( player.Name )+"", player );
}
 else
{
 _MessagePlayer("You are not "+GetTag( player.Name )+" member you will be jailed and then kicked.", "No eres miembro de el clan "+GetTag( player.Name )+", seras encarcelado y despues kickeado.", player)
}
}
  FreeSQLQuery( q )
}

but only the first player registered in clan's database is recognized as a member what is wrong with it? here some pictures...

this is the database the first player is recognized as member the second one as not clan member.


first account, recognized.



second account, not recognized.
28
this will allow your clan system to count kills and deaths, -> Not tested it.
I just did these simple function for you if you still need it, just change it according your command.

Code: [Select]
function IncTagKills( clan, kills )
{
QuerySQL( clanstat, "UPDATE ClanStats SET Kills='" +  kills.tointeger() + "' WHERE Clan='" + clan + "'");
print("Clan kills: "+kills.tointeger() )
}

function IncTagDeaths( clan, deaths )
{
QuerySQL( clanstat, "UPDATE ClanStats SET Deads='" +  deaths.tointeger() + "' WHERE Clan='" + clan + "'");
print("Clan deads: "+deaths.tointeger() )
}

function IsClanRegister( clan )
{
        local Result = ::QuerySQL( clanstat, "SELECT Clan FROM ClanStats WHERE Clan='" + clan + "' COLLATE NOCASE" );
        local Reg = ::GetSQLColumnData( Result, 0 ); 
        return ( Reg ) ? Reg : null;
 FreeSQLQuery( Result );
}


and this goes on onplayerkill
Code: [Select]
if ( GetTag( killer.Name ) && IsClanRegister( GetTag( killer.Name ).tolower() ) ) { IncTagKills(  GetTag( killer.Name ), ( pstatus[ killer.ID ].Kills )+1 ); }
if ( GetTag( player.Name ) && IsClanRegister( GetTag( player.Name ).tolower() ) ) { IncTagDeaths(  GetTag( killer.Name ),( pstatus[ player.ID ].Deaths )+1 ); }

29
Support / Re: Problems with gta-vc.exe
« on February 7th, 04:33 AM »
Intenta descargando todo en ultima version, https://www.vc-mp.org/
y descarga vice city original desde youtube, espero que puedas jugar pronto!
30
Snippet Showroom / Re: Last Position.
« on February 5th, 01:50 AM »
good job but only a little thing <3

Code: [Select]
function onPlayerDeath( player, reason )
{
local q = QuerySQL(Lastpos, "SELECT * FROM Locations WHERE Name = '" + player.Name + "'");
if(!q) return 0;
else{
QuerySQL(Lastpos, "UPDATE Locations SET LastPosX = '" + player.Pos.x + "' WHERE Name = '" + player.Name + "'");
QuerySQL(Lastpos, "UPDATE Locations SET LastPosY = '" + player.Pos.y + "' WHERE Name = '" + player.Name + "'");
QuerySQL(Lastpos, "UPDATE Locations SET LastPosZ = '" + player.Pos.z + "' WHERE Name = '" + player.Name + "'");
}
}

to

Code: [Select]
function onPlayerDeath( player, reason )
{
if (reason == WEP_DROWNED) return;
{
local q = QuerySQL(Lastpos, "SELECT * FROM Locations WHERE Name = '" + player.Name + "'");
if(!q) return 0;
else{
QuerySQL(Lastpos, "UPDATE Locations SET LastPosX = '" + player.Pos.x + "' WHERE Name = '" + player.Name + "'");
QuerySQL(Lastpos, "UPDATE Locations SET LastPosY = '" + player.Pos.y + "' WHERE Name = '" + player.Name + "'");
QuerySQL(Lastpos, "UPDATE Locations SET LastPosZ = '" + player.Pos.z + "' WHERE Name = '" + player.Name + "'");
}
}
//shity
}