MySQL to Samp server
#1

Hey,

Can anyone told me is it possible to put newest MySQL to larp GM. I want to update my gamemode, but i have no clue how to put MySQL to my gamemode. I tried this tutorial, but i don't understand this part. (( https://sampforum.blast.hk/showthread.php?tid=159785))

Код:
 CREATE TABLE IF NOT EXISTS TABLENAME(STRUCTURE)
Код:
ALTER TABLE table_name
ADD column_name datatype
Код:
INSERT INTO table_name (column1, column2, column3,...) VALUES (value1, value2, value3,...)
Please help me out if you know how to fix it.
Regards, Sturra.
Reply
#2

Bump.
Reply
#3

What exactly is the issue? You don't know how to properly create tables, or?
Reply
#4

Quote:
Originally Posted by Mionee
Посмотреть сообщение
What exactly is the issue? You don't know how to properly create tables, or?
That's right. I forget mention early that. When i try to compile my gm then pawno crashes. Is that because gamemode can't get connection to db?
Reply
#5

Can you show us your current code?
Reply
#6

It's exactly same like in tutorial. I copyed code from tutorial.
Reply
#7

Maybe you should actually read the tutorial rather than just copying the codeboxes. Then you would've noticed that all of these are EXAMPLES.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)