AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   cvar/mysql table problem (https://forums.alliedmods.net/showthread.php?t=13186)

y3kgaming 05-07-2005 12:04

cvar/mysql table problem
 
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 05-07-2005 16:10

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.


All times are GMT -4. The time now is 16:45.

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