STEAMID saving to name saving
Hey,
I edited plugin (deathrun shop). Points have been saving by authid, and i wanted saving by name. Original functions (save and load points): PHP Code:
PHP Code:
Thanks |
Re: STEAMID saving to name saving
That code looks too complicated to me(not cuz its messy, cuz i suck at knowing amx scripting functions), but i think saving by name will be a bit problematic, since ppl change their names. SteamID would be the best, the only place it wouldnt be good for is NonSteam servers.
|
Re: STEAMID saving to name saving
Yeah, but I just prefer saving by nick, and please about correcting my code, not to recommend better option to choose :) I know that ppl change their names, and it's ok, no problem. So what can I change to make this code working?
|
Re: STEAMID saving to name saving
Just use SteamID.
P.S. You probably didn't compile it successfully or didn't replace the original .amxx. |
Re: STEAMID saving to name saving
Why using saving by name instead of SteamID ?!
No-Steam user ?! |
Re: STEAMID saving to name saving
Unfortunately I compiled and replaced original .amxx - I just compiled - new plugin has different name, so I couldn't to not replaced the original .amxx. Is this code correct? Should it work? Without deleting vault file? I think it should create new lines in file and work correctly, but it doesn't.. :(
Why I want by name? Because I have some other plugins which save things by name and I'd like this to be saving by name too. |
Re: STEAMID saving to name saving
Well I bet its because something that involves NonSteam but that's really ok, still you could use steamids and then translate them to names for a putout or anything else if needed. Sorry if I make you mad for posting with not helping but these functions are way ahead of me and i don't know them, good luck getting it set.
|
| All times are GMT -4. The time now is 01:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.