SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 02/10/2009, 03:52 PM   #1
yugokoral
Big Clucker
 
Join Date: Aug 2008
Posts: 107
Reputation: 0
Default Tram and Gogless(infrared, nightvision) Problems

Hello!

I using [FS]SpideyTram. In old version 0.2X works good. I tried in new version (0.3 RC, i entered in a tram, i drove around the street and when i exited the tram than the camera wasnt setted behind me. I mean the camera was staying above the tram.

The second problem is with gogless. When any player pickup or get any gogless and when he use them, than the nearest players seeing the vision of gogless from player, which has used his gogless.

thank you
yugokoral is offline  
Old 02/10/2009, 04:30 PM   #2
radi
Big Clucker
 
Join Date: Aug 2008
Posts: 173
Reputation: 0
Default Re: Tram and Gogless(infrared, nightvision) Problems

yugo that with the vision gogles is already since 0.2
radi is offline  
Old 02/10/2009, 04:44 PM   #3
Brendan_Thomson
Big Clucker
 
Join Date: Oct 2007
Posts: 166
Reputation: 2
Default Re: Tram and Gogless(infrared, nightvision) Problems

goggles*
Brendan_Thomson is offline  
Old 02/10/2009, 04:54 PM   #4
yugokoral
Big Clucker
 
Join Date: Aug 2008
Posts: 107
Reputation: 0
Default Re: Tram and Gogless(infrared, nightvision) Problems

Yes i know that, its from the first sa mp version release. (sory that i didnt write that before )
yugokoral is offline  
Old 09/10/2009, 11:06 AM   #5
mister_ic3
Little Clucker
 
Join Date: Jun 2008
Posts: 34
Reputation: 0
Default Re: Tram and Gogless(infrared, nightvision) Problems

i had that problem so i done a search and this helped me use this in ONGAMEMODEINIT

SetDisabledWeapons(43,44,45);

the goggles still work but when you put them on no one else can see it.

i dont think you will need the other ones in there on 0.3 and i hav'nt tested it on 0.3 but it worked on 0.2x

hope this helps and sorry if it does'nt

EDIT: just checked down the natives in pawno and noticed that the have taken that native out?

sorry my bad KYE any chance of knowing why it was taken out
mister_ic3 is offline  
Old 09/10/2009, 11:24 AM   #6
Infamous
Gangsta
 
Infamous's Avatar
 
Join Date: May 2009
Location: Essex, England
Posts: 662
Reputation: 65
Default Re: Tram and Gogless(infrared, nightvision) Problems

Quote:
Added SetPlayerArmedWeapon. (bye SetDisabledWeapons :'( )
Click Here for details on 'SetPlayerArmedWeapon'.
__________________

Infamous is offline  
Old 09/10/2009, 11:47 AM   #7
BeckzyBoi
Beta Tester
 
Join Date: Dec 2006
Posts: 1,191
Reputation: 135
Default Re: Tram and Gogless(infrared, nightvision) Problems

The problem with trams is because if you exit a train it just pops you out of it. This is because of crashes that occured when you exited the carriages in earlier 0.3 tests. IMO it should only pop you out if it is a carriage and not the actual train model. I have already suggested this but not sure if it will be fixed.

The problem with goggles is already fixed but the code isn't enabled yet. Kye said it probably will be for 0.3 release.
BeckzyBoi is offline  
Old 09/10/2009, 11:54 AM   #8
Mikep.
Huge Clucker
 
Join Date: Sep 2009
Posts: 465
Reputation: 0
Default Re: Tram and Gogless(infrared, nightvision) Problems

Quote:
Originally Posted by Infamous
Quote:
Added SetPlayerArmedWeapon. (bye SetDisabledWeapons :'( )
Click Here for details on 'SetPlayerArmedWeapon'.
But the problem with that is that people can't use it AT ALL.

SetDisabledWeapons was a useful function because it allowed the goggles and camera to be used without other players seeing the effects, so removing it has caused a few problems, especially because the goggle and camera bugs haven't been fixed.
Mikep. is offline  
Old 09/10/2009, 11:55 AM   #9
mister_ic3
Little Clucker
 
Join Date: Jun 2008
Posts: 34
Reputation: 0
Default Re: Tram and Gogless(infrared, nightvision) Problems

thank you BeckzyBoi handy to know as me and my friends like to use them on my server and now we can have NPC's aswell this just gets better and better i love to code but am only just learning used to be a copy and paste but now am trying to code my first own GM

And thank you infamous will check that one out

EDIT: i totally agree Mikep it was a very usefull native but if they have fixed the code for it then its all good
mister_ic3 is offline  
Old 09/10/2009, 01:11 PM   #10
BeckzyBoi
Beta Tester
 
Join Date: Dec 2006
Posts: 1,191
Reputation: 135
Default Re: Tram and Gogless(infrared, nightvision) Problems

It was useful only in that way. SetPlayerArmedWeapon is much better to disable the weapon. And to fix the camera problem with trains you can use SetCameraBehindPlayer in OnPlayerStateChange if the old state is PLAYER_STATE_DRIVER or PLAYER_STATE_PASSENGER.
BeckzyBoi is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tram not drivable Jimmy_Carr Help Archive 3 09/07/2010 12:18 PM
NightVision & Thermal Goggles Headshot1108 Help Archive 9 01/06/2010 04:43 PM
Tram + RC BP13 Help Archive 0 31/07/2009 05:11 PM
[help] Nightvision Goggles bAr_O Help Archive 7 27/07/2009 06:06 PM


All times are GMT. The time now is 12:54 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.