Menu

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.

Show posts Menu

Messages - FinchDon

#16
Object Showroom / Re: [Custom Objects]
Sep 28, 2015, 10: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]
Sep 28, 2015, 09: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]
Sep 28, 2015, 01:50 AM
bc Ring to banta nhi bate krta ha
Anyway Nice work
#19
Scripting and Server Management / Re: Sound
Sep 27, 2015, 04:34 PM
Anyway Doom They Must Add those things just a request not an order Because These Things are in need
#20
So What is Error :\
#21
Nah it is this
::QuerySQL( dbGlobal, "INSERT INTO Accounts VALUES('" + player.Name + "', '" + player.Name.tolower() + "', '" + ( password ) + "', 0, 0, 0, 0, 1, '" + player.IP + "', '" + team + "' )" );
#22
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

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

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
Sep 26, 2015, 02: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
Sep 25, 2015, 05:08 PM
Not That One
#25
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
Sep 25, 2015, 03:47 PM
Yess We Got Three parts in cow wow amazing Meat

On:Eid Mubarak Friends/Enemies
#27
maybe the warchiefs spam may work?
#28
You didnt understand By Me Anyway remove it if you dont want
#29
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
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