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 - MadMax

#1
Quote from: NewK on Jun 29, 2018, 10:56 AMThe latest version is version 30 not 22. Make sure you download it from here
It remains the same
#2
VCMP04_server_v22_win32
#3
Quote from: BeckzyBoi on Jun 29, 2018, 10:03 AM
Quote from: MadMax on Jun 29, 2018, 09:56 AM
Quote from: rww on Jun 29, 2018, 09:32 AMTry to remove some commands and test it, if it still doesn't work, try with another commands. Error in another command, not here.
It's not working I've tried

Remove all commands expect "vehicles" and then try. If it works then it's one of your other commands. You'll then have to remove one-by-one to debug it.
as I said I just tried It! GetObjectCount is working even, btw GetVehicleCount isn't
#4
Quote from: rww on Jun 29, 2018, 09:32 AMTry to remove some commands and test it, if it still doesn't work, try with another commands. Error in another command, not here.
It's not working I've tried
#5
Quote from: rww on Jun 29, 2018, 09:27 AMIn your posted code is everything okey, the mistake must be in another line.

Btw you can do this that.

function onPlayerCommand( player, cmd, text )
{
try
{
cmd = cmd.tolower();
if (cmd == "vehicles") ClientMessage("Veh Count: "+GetVehicleCount(),player,255,255,0);
}
catch(e) print( "OnPlayerCommand Error: " + e );
}
Same Error
#6
function onPlayerCommand( player, cmd, text )
{
try
{
 cmd = cmd.tolower();
if(cmd=="vehicles")
{
ClientMessage(" "+ GetVehicleCount() + "",player,255,255,0);
 }
}
catch(e) print( "OnPlayerCommand Error: " + e );

}
#7
Quote from: rww on Jun 29, 2018, 08:47 AM
Quote from: MadMax on Jun 29, 2018, 08:41 AMUnable to use GetVehicleCount(), Using the same code mentioned in the wiki.

else if (c == "countveh") print("Vehs: "+GetVehicleCount());
output: 317, so correcty. On wiki also script looks okey.
Remember to check your version. It works on 04rel003 btw doesn't works on 04rel006.
You can check my post over Here
#8
Yes Of course?  I guess that's an issue with the Plugin @Stormeus . I'm currently using 04rel006, and when I just thought to try the same code back in version 04rel003, It worked great!
#9
Unable to use GetVehicleCount(), Using the same code mentioned in the wiki.
#10
Well, so this is the most basic function of VCMP and It's giving me an Error "Wrong Number of parameters" Now even the wiki shares the same code I've written down, and It gives error. Is there an alternative to solve this issue, or am I doing something wrong?

https://s22.postimg.cc/tp84wpild/Screenshot_12.png
#11
I'm trying to connect to the server, and It kicks me saying  I've an older version of VCMP. Although I've downloaded the recent one from the update section which stormeus has given.
Kicking connecting player at ID 0, version is 67350 (current 67400), using older version.
Kicking connecting player at ID 0, version is 67350 (current 67400), using older version.
https://forum.vc-mp.org/?topic=5953.msg41256#new
I've downloaded the client from here, and downloaded the 04rel006 version from http://u04.thijn.ovh/ as the client was giving me concequently an error of "Open Archive" Rest of the servers do work, but i'm unable to play mine
#12
How can I connect my server to discord ? Kindly mention the ways, and the languages required to make It.