Garry's Mod
Florian's Script - Character System
77 коментара
HexStrain 7 авг. 2024 в 11:20 
Thank you so much, this addon is really great. U did a good job
Florian #  [автор] 7 авг. 2024 в 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 7 авг. 2024 в 2:54 
a way to do factions?
Florian #  [автор] 17 май 2024 в 23: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 13 май 2024 в 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 #  [автор] 15 ян. 2024 в 23: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 15 ян. 2024 в 14: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 #  [автор] 5 дек. 2023 в 4:07 
Unfortunately, this is probably why people trust GmodStore more than Workshop, for "guaranteed" support.
HexStrain 5 дек. 2023 в 3:59 
yeah yeah... Majority of them dont even give support for their addons
Florian #  [автор] 5 дек. 2023 в 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 5 дек. 2023 в 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 #  [автор] 5 дек. 2023 в 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 5 дек. 2023 в 2:02 
Does it automaticly gets integrated with itemstore or do i have to enable it in some sort of config
HexStrain 5 дек. 2023 в 2:01 
oh shit thats very helpful thank you so much
Florian #  [автор] 4 дек. 2023 в 23:42 
You can also get them with F2
HexStrain 4 дек. 2023 в 15:26 
found em

/createchar
/changechar
/editchar
/editnotes
/viewdatabase
/viewinformations
/deletechar
/deleteallchar
/saveallchar
HexStrain 4 дек. 2023 в 15:24 
where can i find the commands for this mod.
Cristal 9 авг. 2023 в 3:26 
merci
Florian #  [автор] 9 авг. 2023 в 2:08 
Toutes les commandes de chat sont disponibles via la touche F2 en jeu.
Cristal 8 авг. 2023 в 18:36 
c'est quoi les commandes ?
Florian #  [автор] 9 февр. 2023 в 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 8 февр. 2023 в 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 8 февр. 2023 в 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 #  [автор] 3 февр. 2023 в 0: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 2 февр. 2023 в 13: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 2 февр. 2023 в 13:04 
Ils sont obligé de faire /changechar pour reprendre leur personnage.
★ NightyksiLulu 2 февр. 2023 в 12:58 
Timer Failed! [Simple][@addons/personnage/lua/fscript_modules/core/sv_main.lua (line 8)]
★ NightyksiLulu 2 февр. 2023 в 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 2 февр. 2023 в 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 1 юни 2022 в 13:10 
i figured it out
thx
Florian #  [автор] 31 май 2022 в 8:25 
With the chat command /createchar
He don't fxck with a Evil Empire 31 май 2022 в 5:13 
how to create 2 or more characters?
Florian #  [автор] 4 апр. 2022 в 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://gtm.steamproxy.vip/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 4 апр. 2022 в 4:16 
How do you setup restrictions with ulx or something? Users can freely modify other characters of other people?
Florian #  [автор] 30 март 2022 в 13: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. 29 март 2022 в 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 29 апр. 2021 в 3:44 
THANK YOU SO MUCH FOR THIS BRO
Interloper︱︎Hatsune Miku 17 апр. 2021 в 5:07 
oh oof but hey what ever works works
Florian #  [автор] 17 апр. 2021 в 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.
Interloper︱︎Hatsune Miku 17 апр. 2021 в 3:13 
yea sorta sorry
Florian #  [автор] 17 апр. 2021 в 0:23 
I guess you talk in Sandbox gamemode?
Interloper︱︎Hatsune Miku 16 апр. 2021 в 16:18 
hey florian is there a way for the characters name to show up instead for the steam name?
Interloper︱︎Hatsune Miku 14 февр. 2021 в 17:23 
oh ok thanks
Florian #  [автор] 11 февр. 2021 в 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
Interloper︱︎Hatsune Miku 10 февр. 2021 в 20:04 
also why cant we name outself more than one word like 3 or 2 words?
Interloper︱︎Hatsune Miku 20 ян. 2021 в 7:48 
ok thanks just a bug i found my friend notice it as well in sandbox
Florian #  [автор] 20 ян. 2021 в 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.
Interloper︱︎Hatsune Miku 20 ян. 2021 в 7:41 
is there a sandbox version? for this addon
Interloper︱︎Hatsune Miku 20 ян. 2021 в 7:40 
and i use sandbox
Interloper︱︎Hatsune Miku 20 ян. 2021 в 7:40 
hey florian for some reason if you get killed your model will set into the normal one you choose in sandbox