Hey , i am want to make a custom model thing , where if you are not in the flat file , you will not have a custom model.
so i want the flat file like this:
but the only thing is , i dont know how to asociate the steam id by the model that folows.
this is the code for finding each steam ID , but i still dont know how to make it work
function CustomModel(ply , model)
steamids = string.Explode( "
", file.Read(“custommodels/people.txt”) )
model = string.Explode( " ", file.Read(“custommodels/people.txt”) )
for k,v in pairs(steamids) do
if self:SteamID() == v then
but that doesnt work.