
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.

1
Support / Re: I can't run server on windows
« on October 1st, 2015, 05:46 PM »
check which ports are in use by netstat in command prompt. You can use taskmanager + details in PID column
try opening a port which is not listed above.
try redownload server files .
Upload your server file and give us link and squirrelmaster( finchdon ) will test it.
try opening a port which is not listed above.
try redownload server files .
Upload your server file and give us link and squirrelmaster( finchdon ) will test it.
2
Scripting and Server Management / Re: Array, And Foreach Function
« on September 29th, 2015, 04:09 PM »
'foreach' '(' [index_id','] value_id 'in' exp ')' stat
Foreach is a loop executes a statement for every element contained in an array, table, class, string or generator.
Code: [Select] or
Code: [Select]
He made his script complex this makes it easy to understand
Code: [Select]
If you look closely there will be a players.push( players.id ) and players.remove( player.id ) which will add player id to array when he joins and remove player id when he leaves.
Foreach is a loop executes a statement for every element contained in an array, table, class, string or generator.
local a=[10,23,33,41,589,56]
foreach(idx,val in a){
print("index="+idx+" value="+val+"\n");
}
foreach(val in a){
print("value="+val+"\n");
}
He made his script complex this makes it easy to understand
foreach(val in players){
print("value="+val+"\n");
}
If you look closely there will be a players.push( players.id ) and players.remove( player.id ) which will add player id to array when he joins and remove player id when he leaves.
3
Off-Topic General / Re: Everyone is againts finchdon ban him
« on September 29th, 2015, 03:52 PM »So right @Stormeus need to add this nowQuote from DeViL_JiN on September 29th, 2015, 03:05 PM I think we should add an age restriction on vc-mp :P
For the sake of you I would advise against this idea.
Ya you are right all vcmp develpers need to thisQuote from Kusanagi on September 29th, 2015, 03:13 PM Or add some question about squirrel for identification :D
4
Off-Topic General / Re: Access this URL in Chrome
« on September 25th, 2015, 11:45 AM »Nothing happend to me neither in Chrome nor firefox
5
Off-Topic General / Re: Temporary Free Host
« on September 23rd, 2015, 12:57 PM »
*cough* winscp makes it easy and slc has already installed stuff needed.
6
Scripting and Server Management / Re: cmd.slice
« on September 21st, 2015, 11:33 AM »
Update 1 : is it onplayerchat or onplayercommand , you had put cmd.slice so i guess it is onplayercommand , when a player types command it removes '/' from it . so player should type /!command or //command to make it work
7
Off-Topic General / Re: PC specifications
« on September 21st, 2015, 11:16 AM »
i486DX2 (P24LM) 90Mhz
32mb Ram
500mb Harddrive
32mb Ram
500mb Harddrive
8
Scripting and Server Management / Re: cmd.slice
« on September 21st, 2015, 11:10 AM »
anything typed with ' / ' in the beginning is not recognized as chat . So you have to make it in on player command.
9
Scripting and Server Management / Re: Array
« on September 18th, 2015, 09:24 AM »
did you add BMFE in player class?
10
Scripting and Server Management / Re: VPS connect sql
« on September 18th, 2015, 08:32 AM »11
Scripting and Server Management / VPS connect sql
« on September 18th, 2015, 06:45 AM »
the index connect sql doesn't exit , i am using all plugins in along with sqlite
Code: [Select]
function onScriptLoad(){
stats <- array( GetMaxPlayers(), null );
sqliteDB <- ConnectSQL( "database.db" );
foreach (key, val in Commands) CommandsList.push( key);
foreach (key, val in Commands) PlayerCommands.push( key+" "+ val);
print( "VCDM - SQLite variant has successfully loaded..." );
}
12
Off-Topic General / Re: Happy Birthday to me :)
« on September 18th, 2015, 05:35 AM »I am late.Happy Birthday !!
13
Scripting and Server Management / Re: Array
« on September 18th, 2015, 05:33 AM »
fuzzie's account system updates player stats when player leaves
14
General Discussion / [Request] Re: Killengine
« on September 17th, 2015, 04:11 PM »
is kill engine really there? almost all squirrel functions here https://bitbucket.org/stormeus/0.4-squirrel/src/dfdf3960226db784d7e807770ca3b1b46f51b16c/VCMP.h?at=master&fileviewer=file-view-default
15
Script Showroom / Re: Total War DM
« on September 17th, 2015, 02:34 PM »When i saw the topic name, i think you stolen my server script...
Please, change topic name.