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 - Xmair
General Discussion / Re: R2 Features
« on October 25th, 01:16 PM »
Quote from MEGAMIND on October 25th, 12:51 PM
Quote from DizzasTeR on October 25th, 12:38 PM
Quote from MEGAMIND on October 25th, 11:47 AM
Quote from habi on October 25th, 11:47 AM
If i make an executable file, will you guys distribute to all players?
i trust this man by my eyes closed
Its less about trust, and more about distributing the actual file between every player that will play on your server (like this). It is quite literally going to be a "hack", but a positive one instead of a negative one. The bigger problem is that you will get locked out from players because they don't have a special file to give them the extra "feature" which is required and not everyone does that much to play on a server.
@habi in that case a new plugin might help? overiding the actuall funtions to use the new custom ones? or along with an .ini file to set between the actuall on custom ones?
You can't do something like that with a server sided plugin.
General Discussion / Re: R2 Features
« on October 23rd, 08:04 PM »
Quote from Sonmez on October 23rd, 06:59 PM
Quote from ressam on October 23rd, 06:57 PM
Quote from Inferno on October 23rd, 06:46 PM
You can use return 0; in OnPlayerChat to hide original chat,.

as for scoreboard, idk if its possible to hide it.
Can't assign it to another key?
Selecting another key isn't solves this problem. Because players use "TAB" for scoreboard and players use "T" for chat.
Cancel the onPlayerChat event by returning false/0 and send a stream to all of the connected players with the player's message.
General Discussion / Re: Linux server files?
« on September 24th, 11:43 PM »
The latest hashing plugin had some issues for me, it fixed when I used an older build.

Side tip: replace with in dead links, Thijn has backed up most if not all of the official links.
Community Plugins / Re: create bots with this plugin
« on September 12th, 06:48 PM »
Quote from MEGAMIND on September 12th, 05:18 PM
i tried puttin the playfile function in onscriptload but its doesnt work until i type /mega to play it :P
Code: [Select]
-847 function onPlayingCompleted( recordedFileName, actor id )
-848 {
-849 PlayFile(MEGAMIND, 1); <---- HERE
-850 }
MEGAMIND isn't defined as a variable or constant anywhere, use "MEGAMIND" (string)
Script and Content Requests / Re: Socket Bad Request
« on September 1st, 10:28 AM »
Try using the HTTP Requests plugin by Luckshya.

Code: [Select]
local request = SqHTTP.GetRequest();

function HTTP_OnResponse(tag, url, statusCode, response) {
switch(tag) {
case "myRequest": {
if (statusCode == 200) { // OK
else { // Error

Or if you want to stick to the official sockets plugin:
Code: [Select]
local sock = null;
local sockAddress = "";

function setupSocket() {
sock = NewSocket("onSocketDataReceive");
sock.Connect(sockAddress, 80);
print(format("Connecting to %s...", sockAddress));

function onSocketDataReceive(data) {
print("Received data:");

function onSocketConnect() {
print("Connection successful, sending data");

sock.Send("GET / HTTP/1.1\r\n");
sock.Send("Accept: */*\r\n");
sock.Send(format("Host: %s\r\n", sockAddress));


Basically what you were missing was a "\r\n" in the end.
Script and Content Requests / Re: Socket Bad Request
« on August 31st, 02:36 PM »
What's `acikka`? As far as I know, it's not an accept method. Give this a read:

Code: [Select]
Accept: */*
Script and Content Requests / Re: hidemapobject problem
« on August 12th, 07:20 PM »
If I remember correctly, some objects don't hide for some reason (vcmp bug, don't know if it still exists) but you can give this a try:
Code: [Select]
RawHideMapObject(1815, -637, 834, 12)
Tutorials / Re: vehicle.Damage Complete Information
« on August 6th, 09:22 AM »
Or you could just use vehicle.SetPartStatus?
Servers / [0.4] Re: Vice City Cops & Robbers
« on July 31st, 09:05 PM »
Eid Mubarak! May Allah flood your life with happiness, prosperity and good luck!

Credits: Roystang.

Support / Re: Trying to set 'class' error in Client Side
« on July 23rd, 06:05 AM »
Just an off topic comment, your code can be reduced to just this:
Code: [Select]
::IsLocalPlayerSpectating <- false;

::IsLocalPlayerSpectating = stream.ReadInt() == 1;
Not sure if it would work due to the environment being fucked in client side code.
Support / Re: Occasional server crash
« on July 23rd, 06:01 AM »
From what I have experienced, deleting or stopping timers cause crashes.
Off-Topic General / [Unofficial] Re: VCMP Scripters - Discord
« on July 19th, 01:09 PM »
A discord server for inexperienced coders has been created.
Map Showroom / Re: Some places from Shine o’Vice
« on July 19th, 06:30 AM »
Nice, that reminds me of the little island near the golf club we converted from Shine'o'Vice for VCCNR, however it was never added due to the HideMapObject function being bugged.
Off-Topic General / Re: Need Scripter.
« on July 14th, 07:21 AM »
Quote from KadirYigit on July 13th, 09:56 PM
MessagePlayer("[#ffffff]>INFO: REMEMBER! You will not earn nothing. maybe God's respect. Dont forget,God's Respect is everything you need...   ",player);
Support / Re: bug my server.
« on July 6th, 08:29 PM »
Quote from Eva on July 6th, 07:40 PM
Quote from Xmair on July 6th, 04:40 PM
Quote from Eva on July 6th, 02:14 PM
Quote from habi on July 6th, 12:36 PM
Failed to load model xx for vehicle 296.

I don't know. Did you checked vehicle with id 296. Vehicle id starts with 1 I think.
The problem is some people cant connect to that server, also i cant exept if i connect trough vpn
and its only with a few people...
There's your answer.
i dont see it, as its not with all players also players that dont use a vpn can join there exept a few can't. question is whats the cause of it.

I noticed a few things when i connect with my isp i am somehow connected (i can see the chat go) (in masterlist i see myself as connected) but in f5 im the only and sais Unknown server. i cant chat myself. Also it doesnt create the server storefolder.

Now i connect with vpn and i can join with no problem.

oh and when i put the servers files manualy in appdata i still cant connect with normal isp
You're saying the answer yourself again and again, it's either your ISP blocking the IP or it's the server's firewall.