Garry's Mod

Garry's Mod

Florian's Script - Character System
77 条留言
HexStrain 2024 年 8 月 7 日 上午 11:20 
Thank you so much, this addon is really great. U did a good job
Florian #  [作者] 2024 年 8 月 7 日 上午 9:56 
Unfortunately I haven't been active on Garry's Mod community for a few years now, the addon is maintenance only and won't be receiving any more features in the near future. However, I try to keep my addons working through Garry's Mod updates.
AliHajjHasan 2024 年 8 月 7 日 上午 2:54 
a way to do factions?
Florian #  [作者] 2024 年 5 月 17 日 下午 11:32 
My addon doesn't interact with God Mode in any way, I just use functions provided with DarkRP. If you experience this kind of issue, try to see if it's another addon that's adding this behavior.
HexStrain 2024 年 5 月 13 日 下午 12:23 
Hey Florian, forget about the previous question i asked. I solved it. But i have another problem. Some players have god mode, why does this happen?
Florian #  [作者] 2024 年 1 月 15 日 下午 11:17 
I can guarantee that this addon is perfectly compatible with all player models (because it doesn't use predefined playermodels). This code simply checks if the player is already using a registered model, if not, it will check if it's a valid model (everything but not a red ERROR) at server level and if it's invalid, then it will use a function to define a replacement model (which will depend on your gamemode, see below) to avoid defining an ERROR.

https://github.com/FlorianLeChat/FScript-Character-System/blob/master/lua/fscript_modules/core/sh_functions.lua#L112-L139

If you're on DarkRP, it will use a job model, and if not, it will use an HL2 Citizen model which doesn't include Kleiner/Magnus. You should check your addons to see if any of them might conflict with my character system.
HexStrain 2024 年 1 月 15 日 下午 2:57 
I have a problem and i don't know if this addon causes it or not. So i'm writing here.

I use custom PM's in my server. But some people seem to spawn with default scientist PM's (Kleiner, Magnus) after creating a character. I explored the codes and found this:

if PlayerModel ~= ply:GetModel() then
if util.IsValidModel(PlayerModel) then
ply:SetModel(PlayerModel)
else
ply:SetModel(FScript.GetDefaultModels()[1])
end
end


Maybe the mod doesn't register my custom PM's and ignores them, then proceeds to use the defaullt models. Could this be the problem?
Florian #  [作者] 2023 年 12 月 5 日 上午 4:07 
Unfortunately, this is probably why people trust GmodStore more than Workshop, for "guaranteed" support.
HexStrain 2023 年 12 月 5 日 上午 3:59 
yeah yeah... Majority of them dont even give support for their addons
Florian #  [作者] 2023 年 12 月 5 日 上午 3:57 
I guess people now prefer buying stupidly than looking for good addons on the Workshop or making some for their own server...
HexStrain 2023 年 12 月 5 日 上午 3:24 
thank you. It is amazing that how this simply works better than many paid addons on gmodstore. Sometimes i don't even understand why people buy or sell addons from there, some of them already exists in the workshop lol.
Florian #  [作者] 2023 年 12 月 5 日 上午 3:22 
This is normally done automatically and should still work today (I tested my integration a few months ago). If it doesn't, I can always fix this issue.
HexStrain 2023 年 12 月 5 日 上午 2:02 
Does it automaticly gets integrated with itemstore or do i have to enable it in some sort of config
HexStrain 2023 年 12 月 5 日 上午 2:01 
oh shit thats very helpful thank you so much
Florian #  [作者] 2023 年 12 月 4 日 下午 11:42 
You can also get them with F2
HexStrain 2023 年 12 月 4 日 下午 3:26 
found em

/createchar
/changechar
/editchar
/editnotes
/viewdatabase
/viewinformations
/deletechar
/deleteallchar
/saveallchar
HexStrain 2023 年 12 月 4 日 下午 3:24 
where can i find the commands for this mod.
Cristal 2023 年 8 月 9 日 上午 3:26 
merci
Florian #  [作者] 2023 年 8 月 9 日 上午 2:08 
Toutes les commandes de chat sont disponibles via la touche F2 en jeu.
Cristal 2023 年 8 月 8 日 下午 6:36 
c'est quoi les commandes ?
Florian #  [作者] 2023 年 2 月 9 日 上午 6:31 
Je pense que tu peux facilement modifier ça dans le code pour changer quelques mots et l'adapter à l'univers de ton serveur, le fonctionne restera normalement le même. Pour l'erreur que tu as mentionnée, c'est une erreur liée à Garry's Mod et non pas de mon addon (étant donné qu'il n'utilise pas le système de navigation).
★ NightyksiLulu 2023 年 2 月 8 日 下午 12:28 
D'ailleurs, j'ai un nouveau problème avec l'addon, il me dit "Failed to load .nav file: Cannot access!" comment on lui donne l'accès ?
★ NightyksiLulu 2023 年 2 月 8 日 上午 8:48 
Salut, j'ai une question, y'a moyen de faire en sorte qui y'a une fonctionnalité, genre tu puisses changer l'addons en mode "Clone Wars". Par exemple lorsque tu crées ton personnage, à la place de Prénom c'est "Matricule" et nom de Famille c'est le surnom du clone et avoir en sorte du grade en début (en abréviation) ?
Je demande ceci, car j'aimerai l'utiliser pour mon serveur Clone Wars c'est pour ça.
Florian #  [作者] 2023 年 2 月 3 日 上午 12:21 
Salut, merci du signalement ! Je viens de pousser une mise à jour sur GitHub et sur le Workshop pour corriger ce problème. En effet, c'était un problème lié à l'ItemStore, il semble que dans certains cas l'inventaire n'est pas disponible et peut entraîner des problèmes lors de la réinitialisation. J'espère que le correctif suffira à palier ce problème et n'hésite pas à me dire si tu trouves d'autres problèmes ! :physgun:
★ NightyksiLulu 2023 年 2 月 2 日 下午 1:12 
J'ai trouver la situation.
En gros, faut déjà mettre l'addons dans le FTP (logique) ensuite si y'a Itemstore sur le serveur, faut supprimer toute la ligne de commande dans sv_functions.lua concernant l'Itemstore. Car y'avais une erreur qui faisais tout bugué, ça fonctionne après que j'ai supprimer les lignes

Merci pour cette addons il est excellent et continue ton travail :steamthumbsup:
★ NightyksiLulu 2023 年 2 月 2 日 下午 1:04 
Ils sont obligé de faire /changechar pour reprendre leur personnage.
★ NightyksiLulu 2023 年 2 月 2 日 下午 12:58 
Timer Failed! [Simple][@addons/personnage/lua/fscript_modules/core/sv_main.lua (line 8)]
★ NightyksiLulu 2023 年 2 月 2 日 下午 12:58 
[personnage] addons/personnage/lua/fscript_modules/core/sv_functions.lua:241: attempt to index field 'Inventory' (a nil value)
1. ResetPlayer - addons/personnage/lua/fscript_modules/core/sv_functions.lua:241
2. ChangeCharacter - addons/personnage/lua/fscript_modules/changecharacter/sv_changecharacter.lua:48
3. unknown - addons/personnage/lua/fscript_modules/core/sv_main.lua:10
★ NightyksiLulu 2023 年 2 月 2 日 下午 12:54 
Salut, lorsque les joueurs se co, ils se font réinisialiser leur personnage et n'ont pas la possibilité de reprendre leur personnage..
He don't fxck with a Evil Empire 2022 年 6 月 1 日 下午 1:10 
i figured it out
thx
Florian #  [作者] 2022 年 5 月 31 日 上午 8:25 
With the chat command /createchar
He don't fxck with a Evil Empire 2022 年 5 月 31 日 上午 5:13 
how to create 2 or more characters?
Florian #  [作者] 2022 年 4 月 4 日 上午 11:39 
By default, all restrictions are set for players with the usergroup "admin": https://github.com/FlorianLeChat/FScript-Character-System/blob/20c9a526b3888582bca357a752038d7f28bb483b/lua/fscript_modules/core/sv_hooks.lua (source code)

ULX is directly related to this, however you can't restrict permissions by usergroups because CAMI is not implemented in the addon.

So if you want to edit this behavior, you have to create a Lua script to create your own hooks : https://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/2015280119/1749024748623718599/ (documentation)

However, I will see to implement CAMI in the next days to avoid that people create code and use administration scripts like FAdmin/SAM or ULX.
Popcorn 2022 年 4 月 4 日 上午 4:16 
How do you setup restrictions with ulx or something? Users can freely modify other characters of other people?
Florian #  [作者] 2022 年 3 月 30 日 下午 1:13 
Unfortunately my addon is not responsible for its setup. If you have any problems with the Workshop content mounting, I advise you to contact Steam or the official Facepunch support.
Karen from H.R. 2022 年 3 月 29 日 上午 9:45 
the addon is a bit glitchy for my server so I had to remove it manually and from content pack. But still shows.
Big Floppa 2021 年 4 月 29 日 上午 3:44 
THANK YOU SO MUCH FOR THIS BRO
Spooky ︱︎Hatsune Miku ︱ツ 2021 年 4 月 17 日 上午 5:07 
oh oof but hey what ever works works
Florian #  [作者] 2021 年 4 月 17 日 上午 4:39 
I pushed an update on the Github version to fix this issue: https://github.com/FlorianLeChat/FScript-Character-System/commit/10bdd83ff961bb27c4465799fbdfc019cd8bba47
The workshop addon will be updated in the next few minutes.
Spooky ︱︎Hatsune Miku ︱ツ 2021 年 4 月 17 日 上午 3:13 
yea sorta sorry
Florian #  [作者] 2021 年 4 月 17 日 上午 12:23 
I guess you talk in Sandbox gamemode?
Spooky ︱︎Hatsune Miku ︱ツ 2021 年 4 月 16 日 下午 4:18 
hey florian is there a way for the characters name to show up instead for the steam name?
Spooky ︱︎Hatsune Miku ︱ツ 2021 年 2 月 14 日 下午 5:23 
oh ok thanks
Florian #  [作者] 2021 年 2 月 11 日 上午 2:30 
You can change the number of characters through the addon settings: https://github.com/FlorianLeChat/FScript-Character-System/blob/master/lua/fscript_settings.lua#L35-L40
Spooky ︱︎Hatsune Miku ︱ツ 2021 年 2 月 10 日 下午 8:04 
also why cant we name outself more than one word like 3 or 2 words?
Spooky ︱︎Hatsune Miku ︱ツ 2021 年 1 月 20 日 上午 7:48 
ok thanks just a bug i found my friend notice it as well in sandbox
Florian #  [作者] 2021 年 1 月 20 日 上午 7:46 
No there is no Sandbox version for this addon because many servers use it in DarkRP gamemode. But I might add something to fix this issue in the next update.
Spooky ︱︎Hatsune Miku ︱ツ 2021 年 1 月 20 日 上午 7:41 
is there a sandbox version? for this addon
Spooky ︱︎Hatsune Miku ︱ツ 2021 年 1 月 20 日 上午 7:40 
and i use sandbox
Spooky ︱︎Hatsune Miku ︱ツ 2021 年 1 月 20 日 上午 7:40 
hey florian for some reason if you get killed your model will set into the normal one you choose in sandbox