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

#1
Try
SetTime(hour, min);
as function names are case sensitive.
#2
Try this:
function GUI::ElementRelease(element, mouseX, mouseY)
{
if (element == ::Test)
{
::Test<-null;//Delete
Console.Print("[#A22ACC][M4] [#AC2211]Done")
::GUI.SetMouseEnabled(false);
}
}
Using GUI::ElementRelease instead of GUI::ElementClick. ^^
#3
Support / Re: Help me please.
Jan 09, 2017, 09:24 AM
Try inserting your DVD and starting the game, as an alternative you can also download a 'NO-CD crack' and you won't need the DVD anymore to play the game, although I'm probably not allowed to provide you with a link since it's a crack obviously, but yeah...a google search should do the trick.
#4
General Discussion / Re: Help please.
Jan 05, 2017, 08:22 AM
Did you try downloading libpng15.dll and placing it in your VC:MP installation folder?
If it still persists you can also try to register it by running command prompt as administrator and type the following (supposing you have placed it into your system32 folder):
Quoteregsvr32 libpng15.dll
#5
Support / Re: Linux VPS no file or directory
Dec 25, 2016, 09:21 PM
Use
sudo yum -y update glibcPerhaps?
#6
Quote from: KAKAN on Mar 06, 2016, 11:58 AM
Quote from: Danix on Mar 06, 2016, 11:53 AMIt's sending an error because the file you are trying to write on does not exist, you have to create it yourself. Since the ini plugin does not have a function to create you have to use the file function.

function RegisterPlayer( Player, Text ) {
  file(Path + "Data/" + Player.Name + ".ini","wb+");
  WriteIniString( Path + "Data/" + Player.Name + ".ini", "Account", "Name", Player.Name );
  WriteIniString( Path + "Data/" + Player.Name + ".ini", "Account", "IP", Player.IP );
  WriteIniString( Path + "Data/" + Player.Name + ".ini", "Account", "Password", Text );
  WriteIniInteger( Path + "Data/" + Player.Name + ".ini", "Account", "Level", 1 );
  WriteIniInteger( Path + "Data/" + "Logs.ini", "Active", Player.Name , 1 );
  MessagePlayer("You have been registered", Player );
}
That should work, although I haven't tested it ^
I made the same function -_-
And also, a+ will work instead of wb+ and you forgot to close the file
It's not about just giving him some code, you got to make sure he actually understands it.
#7
It's sending an error because the file you are trying to write on does not exist, you have to create it yourself. Since the ini plugin does not have a function to create you have to use the file function.

function RegisterPlayer( Player, Text ) {
  file(Path + "Data/" + Player.Name + ".ini","wb+");
  WriteIniString( Path + "Data/" + Player.Name + ".ini", "Account", "Name", Player.Name );
  WriteIniString( Path + "Data/" + Player.Name + ".ini", "Account", "IP", Player.IP );
  WriteIniString( Path + "Data/" + Player.Name + ".ini", "Account", "Password", Text );
  WriteIniInteger( Path + "Data/" + Player.Name + ".ini", "Account", "Level", 1 );
  WriteIniInteger( Path + "Data/" + "Logs.ini", "Active", Player.Name , 1 );
  MessagePlayer("You have been registered", Player );
}
That should work, although I haven't tested it ^
#8
Hippie get a job!
You know...I actually feel sorry for you, not having anything better to do than this all day long every single day of your worthless life.
I would love to punch you in your face, even though I'd get arrested for animal abuse it would still be totally worth it. Seriously, you wonder why people like you get banned? Last time I saw your kind I fed it a banana.  I am jealous of the other communities who don't have you.
Friendly piece of advice, get a life because this is not paying your electricity bills...the water bill shouldn't be a problem cause you probably take a bath once a year.
#9
Support / Re: Maximum spheres?
Jul 11, 2015, 09:59 PM
The first 66 spheres are all visible, over 66 they can't be seen but still work.
#10
Support / Maximum spheres?
Jul 11, 2015, 09:27 PM
Hey, I wanted to ask what is the maximum number of spheres we can add, I've added a pretty high number although some of them don't appear but still work and call the event when you enter their position, but you can't see the sphere.
#11
Bump...this is still not fixed :/
#12
I thought there is no support for leaked scripts on the VC:MP forum.
#13
Hello, I saw that the new update was announced so I immediatly went to test it, although it still does not work properly.
Please, test it yourself and try enterning/exiting the sphere more than once, not just try it once and tell yourself it works.
Spheres are still not working properly, I don't know about checkpoints since I did not test them.
#14
Closed Bug Reports / Re: onSphereExited bug
Jun 19, 2015, 03:46 PM
Bump...
#15
Closed Bug Reports / onSphereExited bug
Jun 10, 2015, 11:55 AM
Hello, I've been playing around with spheres lately and noticed that onSphereExited does not work properly. Sometimes (Very rare) it calls the event but mostly it doesn't work. Maybe you should take a look at it...