Raised This Month: $ Target: $400
 0% 

cvar/mysql table problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
y3kgaming
New Member
Join Date: May 2005
Old 05-07-2005 , 12:04   cvar/mysql table problem
Reply With Quote #1

hi,

Im trying to edit admin.amxx so that it will read an extra variable from sql.cfg which it does but i dont know how to make it so that in admin.amxx changes to <variable>admins (so if varible = 1_ the table would be 1_admins)

I have tried changing admins on the end of the queries to:
`table`admins
'table'admins

If some one can tell me the correct syntax to make the table cvar show before the word admins your help would be much apreciated!
y3kgaming is offline
y3kgaming
New Member
Join Date: May 2005
Old 05-07-2005 , 16:10  
Reply With Quote #2

or at least how in the Small Language do i make 2 strings into one?

I need to make:
tblprefix
AND
tblsuffix

into one string as it seems the easiest way to make what i want to do happen.

A freind told me to use strcpy but that doesnt appear to do anything in the Small Language.
y3kgaming is offline
Reply


Thread Tools
Display Modes

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 16:45.


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