Garry's Mod

Garry's Mod

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

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