[code help] Script to check if player already added to table in dbase, if not then add them.

UrbanSkaters

Valued Member!
Can anyone help with a code example or link to good resource on writing a script that will check if the player I'm looking at has been added to a table in my dbase already. If they aren't already in the table then spawn a crate (already got the crate spawning code) and add them, if they are already in the table just give me a message saying "already in table" (again, I have the message display code).

Edit: Obviously I'm going to use the UID.

Thanks in advance.
 
Back
Top