Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Cena on Jun 24, 2016, 05:31 AM

Title: Long Jump
Post by: Cena on Jun 24, 2016, 05:31 AM
I am using a long jump scripting i want to disable this long jump in world 2. tell me plz how can i do this.
Script here - http://forum.vc-mp.org/?topic=1197.msg8025#msg8025
Title: Re: Long Jump
Post by: Xmair on Jun 24, 2016, 05:50 AM
Just add a check like
if( player.World == 2 ) return;
Title: Re: Long Jump
Post by: Cena on Jun 24, 2016, 06:01 AM
Like this? http://pastebin.com/snXM9rH8
Title: Re: Long Jump
Post by: Thijn on Jun 24, 2016, 06:07 AM
Of course not like that...
Add it in onPlayerGameKeysChange
Title: Re: Long Jump
Post by: Cena on Jun 24, 2016, 07:06 AM
Quote from: Thijn on Jun 24, 2016, 06:07 AMOf course not like that...
Add it in onPlayerGameKeysChange
Lol i didnt see it thanx solved.