Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: MrMADRYAN on Mar 08, 2017, 07:11 PM

Title: AN ERROR HAS OCCURED [the index 'setTime' does not exist]
Post by: MrMADRYAN on Mar 08, 2017, 07:11 PM
Hi everybody!
I've got a problem with my RP gamemode.
"AN ERROR HAS OCCURED [the index 'setTime' does not exist]"
The server version 04rel004, on Linux (ubuntu server 16.04.2 LTS), plug-ins that I used to test are from here: http://forum.vc-mp.org/?topic=2719.msg2018, https://bitbucket.org/stormeus/0.4-squirrel/downloads/ and I also tryed http://thijn.ovh/vcmp/builds/ - no change at all.
Title: Re: AN ERROR HAS OCCURED [the index 'setTime' does not exist]
Post by: Danix on Mar 08, 2017, 08:34 PM
Try
SetTime(hour, min);
as function names are case sensitive.
Title: Re: AN ERROR HAS OCCURED [the index 'setTime' does not exist]
Post by: MrMADRYAN on Mar 09, 2017, 02:56 PM
Oh, my bad. I must be more attentive, thanks! ;)
Title: Re: AN ERROR HAS OCCURED [the index 'setTime' does not exist]
Post by: KAKAN on Mar 09, 2017, 03:06 PM
Man, he just said. use SetTime instead of setTime .....
I'm done