Locker system will not work, FPS driving!
#1

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
Reply
#2

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?
Reply
#3

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.
Reply
#4

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!
Reply
#5

Код:
PlayerInfo[playerid][pModel] = ChosenSkin[playerid];
Would these need to be swapped around to say the chosen skin is what was set in playerinfo?
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)