Raised This Month: $ Target: $400
 0% 

Sourcemod member authorisation


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 08-09-2008 , 10:57   Re: Sourcemod member authorisation
Reply With Quote #7

Code:
forward OnClientAuthorized(client, const String:auth[]);
Use the Sourcemod API to see proper use of functions.

http://docs.sourcemod.net/api/

Also, rename "hdatabase" to "hDatabase"

in
PHP Code:
CheckSteamID(userid, const String:auth[], maxstrlen)
{
 
decl String:query[255];
 
Format(querysizeof(query), "SELECT steamid FROM cpay_users WHERE steamid = '%s'"auth);
 
SQL_TQuery(hdatabaseT_CheckSteamIDqueryuserid)

Lebson506th is offline
 



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 21:31.


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