2011-10-30, 01:46 PM
Hey, I'm currently running a roleplaying game on Garrysmod which allows you to make multiple characters the way the database recognizes the player is by SteamID's.
For example:
A player joins the server -> His information is written into the database nero_hl2rp in the table players
When a player makes his own character it is written into the table characters, the key columns which I need for this donation page are _Name and _Flags
What I want to happen is when a player lands onto a donation page they can search for the characters name in (nero_hl2rp -> characters -> _Name) and then that is the character that will get the donation features, after they have donated I need it to ADD pet into _Flags BUT DON'T replace.
I'm not sure how I would go about this?
For example:
A player joins the server -> His information is written into the database nero_hl2rp in the table players
When a player makes his own character it is written into the table characters, the key columns which I need for this donation page are _Name and _Flags
What I want to happen is when a player lands onto a donation page they can search for the characters name in (nero_hl2rp -> characters -> _Name) and then that is the character that will get the donation features, after they have donated I need it to ADD pet into _Flags BUT DON'T replace.
I'm not sure how I would go about this?