Raised This Month: $51 Target: $400
 12% 

SQL Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ride like Ghost
AlliedModders Donor
Join Date: Dec 2016
Location: behind my pc
Old 04-17-2018 , 11:12   SQL Help
Reply With Quote #1

Hello i have a question , How do i get information from a data table ex. If steamID is in the data table then givethe player with that steam id an adm_flag ??? ty
Ride like Ghost is offline
Reiko1231
Member
Join Date: Apr 2013
Location: Russia
Old 04-17-2018 , 14:59   Re: SQL Help
Reply With Quote #2

Send "SELECT" query to database using Database.Query Method. Then if DBResultSet.FetchRow Method returns true, player exists in database. After this check you can create admin by CreateAdmin Function and give required flags by SetAdminFlag Function.
Reiko1231 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode