Locker system will not work, FPS driving! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Locker system will not work, FPS driving! (
/showthread.php?tid=608567)
Locker system will not work, FPS driving! -
Louwwieee42 - 02.06.2016
Hi SAMP Community,
basically upon entering a vehicle the players camera gets toggled automatically to a first person viewing mode and the player can then use /togglecam to disable first person driving; this is a feature i am looking to preferably switch around meaning the players spawn with a normal camera view and can use /togglecam to enable first person driving, if this can not be done simply removing the system all together would also be okay!
http://pastebin.com/Le46eamS
Basically my next issue is with factions locker system, in order to create a locker one would use /dutymenu [FactionID] [CommandToOpenTheLocker] the locker creates and opens fine, although when a player opens it and tries to select a uniform they get the following screen:
Here is the code for the LSPD duty menu, I hope you can help me fix these issues!
http://pastebin.com/hCY8YELa
Regards: Louwwieee42
P.S. Skillite Gaming is looking for a new scripter - If your interested message me on skype: louwwieee
Re: Locker system will not work, FPS driving! -
CSLangdale - 02.06.2016
Am guessing when you type "next" it's not changing the skin? Or your problem is with the text showing on screen during changing skin?
If it's the changing skin then would that be because in changeskin you have it set to 0?
Re: Locker system will not work, FPS driving! -
Onfroi - 03.06.2016
For the first error you need to show us your OnPlayerEnterVehicle function. I don't get the second issue, you don't explain how the system is supposed to work.
Re: Locker system will not work, FPS driving! -
Louwwieee42 - 03.06.2016
Quote:
Originally Posted by CSLangdale
Am guessing when you type "next" it's not changing the skin? Or your problem is with the text showing on screen during changing skin?
If it's the changing skin then would that be because in changeskin you have it set to 0?
|
Yes correct, the skin does not change at all, if you have solution could you please explain!
Re: Locker system will not work, FPS driving! -
CSLangdale - 03.06.2016
Код:
PlayerInfo[playerid][pModel] = ChosenSkin[playerid];
Would these need to be swapped around to say the chosen skin is what was set in playerinfo?
Re: Locker system will not work, FPS driving! -
Logic_ - 04.06.2016
You will need to detect the word "next" in the callback OnPlayerText, when player types "next" set their skin to faction skin, and add +1 after every time he/she types "next". I can help you more add me on Skype.