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

#1
The latest 006 version has been on my updater for about a week.

No one complained to me it didn't :P I had to hear it from AdTec_224
#2
General Discussion / Re: Javascript plugin
Aug 06, 2018, 07:23 PM
Quote from: vitogta on Aug 06, 2018, 10:42 AMSo if this plugin will work with 004 I will use that.
Obviously not
#3
Off-Topic General / Re: Game Recorder
Jul 04, 2018, 04:50 PM
Quote from: Thunder_Bird on Jul 04, 2018, 06:23 AM
Quote from: Stormeus on Jul 04, 2018, 01:06 AM
Quote from: Sami on Jul 03, 2018, 08:02 AM
Quote from: Xmair on Jul 03, 2018, 04:06 AMStart vc as single player and increase your resolution, then again try to launch VC:MP and record.
Why start single-player when you can adjust your resolution in multiplayer. Try this [link removed] goto the resolution adjuster bar ad put your desired resolution and click on apply and there you go! I prefer action to record  gameplay.  BTW, this is not a hack it is based on graphics like m4 mode gives you a closer look similar to first person, nothing else.

Banned, the website you link to distributes a trainer.
Bro, as you banned him, you should ban this too, -- Removed --
Yes, because we're able to "ban" youtube... *sigh*
#4
That depends. I would rather seed it myself, instead of having to rely on a seed that's build in.
I tested switch on windows 32 and 64 bit. If the last case is always being used you're probably forgetting a break; somewhere.
#5
This works absolutely fine for me:
function onScriptLoad()
{
  srand(GetTickCount());
  for ( local i = 0; i<10; i++)
  {
    local rand = rand() % 10;
    print(rand);
  }

  local test = 5;
  switch(test) {
    case 0:
    case 1:
    case 2:
      print("Its 0, 1 or 2");
      break;

    case 5:
      print("Its 5");
      break;

    case 3:
      print("Its 3");
      break;
  }
}
#6
Off-Topic General / Re: Thijn url down!
Jun 04, 2018, 08:13 PM
Just to clear things up, no I wasn't DDoS'd, my server just had a hard time.
#7
Quote from: NicusorN5 on Oct 30, 2017, 06:48 PM
Quote from: vitosca1 on Oct 30, 2017, 05:59 AMwill be updated to new version of vc-mp browser with inbuilt a new domain.
Are you sure about that? VCMP is dead, move to MTA:SA,SAMP,MTA:VC or whatever. VCMP has no hope.
There's still a lot of people enjoying this game. So if you think it's dead, go ahead and leave no one will miss you.
#8
Pseudo code, you'd have to change that to working code yourself.

onPlayerCommand(player, command, text) {
if (command == "angle") {
if (player.Vehicle) {
MessagePlayer(player, "Angle: " + player.Vehicle.Angle);
} else {
MessagePlayer(player, "Get in a vehicle. Noob.");
}
}
#9
You can easily make your own /save function. There's plenty of examples posted on the forum for saving vehicle positions, go have a search.
#10
Support / Re: Help with function library
Oct 17, 2017, 06:39 AM
Quote from: GangstaRas on Oct 16, 2017, 07:49 PM
Quote from: aXXo on Oct 16, 2017, 06:12 PMYou could use this:
http://forum.vc-mp.org/?topic=2765.0

You could also wrap your code in try {} catch() and print the error if it encounters.

function Script::ScriptLoad()
{
     try
     {
          mySprite = GUISprite("Filename.png", VectorScreen(x, y));
     }
     catch(error)
          Console.Print("Error encountered in Script::ScriptLoad() " + error );
}

Nice, this particular code though (filled out the parameters) gave me the error " trying to set 'class' "
You'd probably have to declare that mysprite somewhere. Just add local mysprite = null; to the top of your script.
#11
Script and Content Requests / Re: CELO
Oct 16, 2017, 05:33 PM
The short answer is, no you cannot load CLEO script files into VC:MP.

But tell us what that script is suppose to do, and someone might make a script compatible with VC:MP for it.
#12
You say you get "You are not allowed to use the command" whenever you try to use admin commands. This makes me believe you already downloaded a "proper" account script.
Can you tell us what script you downloaded? Then we can help you further.
#13
We only support the latest version. So please tell the reason you wanted to downgrade, so we can help you use the up to date version instead.