Recent Posts
91
Script Showroom / Re: imran's Server Auto Message System
« on October 10th, 10:09 PM by UncleRus »
Nice script
92
Sonmez fix it please
93
SLC's Squirrel Plugin / [Sample] Re: Sample SqMod Script
« on October 7th, 10:03 PM by UncleRus »
Quote from . on November 22nd, 2020, 12:18 PM
Quote from Anish87 on November 19th, 2020, 03:01 AM
You need to have necessary dependencies to run the plugin... Download all vcredist versions and try. You will need the MySQL libraries as well.
AFAIK MySQL is embedded in the plugin (on Windows). So it is either compiled with the plugin or non existent at all. You don't need something else other than the DLL itself. On Linux it is another story as you just need to install MySQL from your package manager. Assuming it matches the one from the plugin.

As for runtime dependencies. People should learn that they need Visual C++ Redistributable Runtimes All-in-One for any kind of program. Not just this.
i install vcredist and give this error too what problem ?
94
Snippet Showroom / [MAP] Re: Automatic gate
« on October 7th, 02:58 PM by UncleRus »
in console bind not find how to do fix it
95
Community Plugins / Re: Discord
« on October 7th, 01:43 PM by DizzasTeR »
Quote from Pun1sh3r on October 5th, 07:19 PM
Would be nice if you can compile it for Linux or help with the Problem?
Have you cloned the plugin repository recursively? Because it has DPP as a submodule added to it, so cmake will build DPP for you hence you shouldn't be getting the link error. If you still cannot figure it out you could also get pre-build dpp linux binaries from here and look into that.

If you still cannot figure it out, you'll have to wait for weekend and hopefully I can look into it or provide you with linux binaries
96
I'm a bit in a rush, but here is a list of functions you can use in vcmp:
http://wiki.adtec.ovh/wiki/Scripting/Squirrel/Functions
Search for "sound" and you will see the related ones.

So, you can use such a function in an event like onPlayerJoin, or onPlayerRequestClass (for when switching skins).
http://wiki.adtec.ovh/wiki/Scripting/Squirrel/Events

You can try the Blank Script to start from: https://forum.vc-mp.org/?topic=33.0

Wish you good luck!
If you manage to do it, just let us know.
Otherwise, ask your questions/where you have troubles, and maybe more will join the topic.
97
Community Plugins / Re: Discord
« on October 5th, 07:19 PM by Pun1sh3r »
Works perfect on Windows, wanted to compile the Plugin on Linux but I get this error back:
Quote
Scanning dependencies of target DDiscord
[ 50%] Building CXX object bot/CMakeFiles/DDiscord.dir/discord-client.cpp.o
[100%] Linking CXX shared library libDDiscord.so
/usr/bin/ld: cannot find -ldpp32.lib
collect2: error: ld returned 1 exit status
make[2]: *** [bot/CMakeFiles/DDiscord.dir/build.make:103: bot/libDDiscord.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:113: bot/CMakeFiles/DDiscord.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
Would be nice if you can compile it for Linux or help with the Problem?
98
General Discussion / Re: Xmair's VCMP Launcher
« on October 5th, 01:53 PM by shaddam17 »
The link is down :( Did anybody saved the installer?
99
Iam working on a vcmp server and want to add a custom lobby sound, or a custom sound when a player joins the server, but i dont know how to. if anyone can help me, i would appreciate that.
100
Quote from PSL on October 4th, 04:18 AM
Code: [Select]
function onPickupPickedUp( player, pickup )
{
  if( pickup.Model == 366 ) 
{
if(player.Cash < 500) MessagePlayer("[#00cc00] Need enough money!",player);
else if(player.GetWeaponAtSlot(4)==10) MessagePlayer("[#00cc00] It's a weapon you already have!",player);
else{
 player.SetWeapon( 10, 999 );
MessagePlayer(" You got a Pump-Shotgun",player);
}
}

This link may help you: http://wiki.adtec.ovh/wiki/Scripting/Squirrel/Functions/Player.GetWeaponAtSlot
Thankyou so much man!
So, the correct syntax is: player.GetWeaponAtSlot( slot )
Can't wait for test this one!

And tnx for the wiki link!
The site content will help me a lot!

I coming soon for show you the results!