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 - FinchDon
16
Object Showroom / Re: [Custom Objects]
« on September 28th, 2015, 11:02 AM »
Nah I mean You 2  must reunion No Fight Bro You are brothers I know Devil Is mapper
But Devil The Scripter is Doom He script Map Ediot etc You are Great Mapper You Both Must Reunion
17
Object Showroom / Re: [Custom Objects]
« on September 28th, 2015, 10:01 AM »
You dont have sense You ask me tell me what to make? I send you pic with instruction that make this ring you said okay it will be done When You Give me Ring it was just a rough road Then i ask u what that? u said i forgot to texture then you never reply me
18
Object Showroom / Re: [Custom Objects]
« on September 28th, 2015, 02:50 AM »
bc Ring to banta nhi bate krta ha
Anyway Nice work
19
Scripting and Server Management / Re: Sound
« on September 27th, 2015, 05:34 PM »
Anyway Doom They Must Add those things just a request not an order Because These Things are in need
20
Scripting and Server Management / Re: Error GetTeam
« on September 27th, 2015, 03:21 PM »
So What is Error :\
21
Scripting and Server Management / Re: Error GetTeam
« on September 27th, 2015, 01:13 PM »
Nah it is this
Code: [Select]
::QuerySQL( dbGlobal, "INSERT INTO Accounts VALUES('" + player.Name + "', '" + player.Name.tolower() + "', '" + ( password ) + "', 0, 0, 0, 0, 1, '" + player.IP + "', '" + team + "' )" );
22
Scripting and Server Management / Error GetTeam
« on September 27th, 2015, 12:02 PM »
I add this onScriptLoad

random <- [ 1, 2, 3, 4 ];

and add this on Player Register

local team = random[rand()% random.len()]
      ::QuerySQL( dbGlobal, "INSERT INTO Accounts VALUES( '" + team + "' )" );

and this is Command

Code: [Select]
if ( cmd == "myteam")
{
if ( GetTeam( player ) == 1 ) MessagePlayer( "[#FF0000]MaaKi", player );
if ( GetTeam( player ) == 2 ) MessagePlayer( "[#66FF33]Fabular", player );
if ( GetTeam( player ) == 3 ) MessagePlayer( "[#6666FF]Cmon Master", player );
if ( GetTeam( player ) == 4 ) MessagePlayer( "[#FFFF00]You are noob", player );
}

Releated Functions

Code: [Select]
function SetTeam( player, amount )
{
      QuerySQL(sqliteDB, "UPDATE Accounts SET Group='" +  amount + "' WHERE Name='" + player.Name + "'");   
}

function GetTeam( player )
{
   local lvl1 =  GetSQLColumnData( QuerySQL( sqliteDB, "SELECT Group FROM Accounts WHERE Name='" + player.Name+"'" ), 0 );
   if ( lvl1 ) return lvl1;
   else return 0;
}

Now When i Registered and check in database it show Group Random sometime 1 or 2 or 3 But when i do /myteam it show nothing i add this on Command

if ( GetTeam( player ) == 0 ) PrivMessage( player, "xD" );

then it show that message but in database it was team 2
      
23
Off-Topic General / Re: Pakistan banded
« on September 26th, 2015, 03:56 AM »
It  not ban Actualy PlayerX provide Panel For 2 User Per Country And Pakistan Two panels are already taken
1.Dragon and FinchDon
2.Decent_946 Aka Asadullah Sindhi Kokar :D
24
Off-Topic General / Re: Eid Mubarak
« on September 25th, 2015, 06:08 PM »
Not That One
25
Scripting and Server Management / Re: clanstats
« on September 25th, 2015, 04:56 PM »
We are not your servants Post a Full Description
I know you know little bit of script then there is answer

if ( fulldescription == false )
{
http://forum.vc-mp.org/?topic=113.0 //Read this
Message( "Hey Read That Topic Noob >:(" );
}

If you didnt mean by my code then stop scripting
26
Off-Topic General / Re: Eid Mubarak
« on September 25th, 2015, 04:47 PM »
Yess We Got Three parts in cow wow amazing Meat

On:Eid Mubarak Friends/Enemies
27
Scripting and Server Management / Re: anitspammer
« on September 24th, 2015, 10:30 AM »
maybe the warchiefs spam may work?
28
Script Showroom / Re: Fast and Furious Script v1.2
« on September 24th, 2015, 10:29 AM »
You didnt understand By Me Anyway remove it if you dont want
29
Scripting and Server Management / Re: anitspammer
« on September 24th, 2015, 09:26 AM »
Killerx Next Reply

2 Replies

1.Where i add it?
2.I add it it say antiSpamTime does not exist or antiSpamWarning does not exist
30
Script Showroom / Re: Fast and Furious Script v1.2
« on September 24th, 2015, 09:23 AM »
Actually i use array for achievement I mean if you unlock achievement 100 Kills then i set there array
pstats[ player.ID ].stat1 = true; so i use that onPlayerpart I didnt test that System