pBlueG / SA-MP-MySQL

MySQL plugin for San Andreas Multiplayer
BSD 3-Clause "New" or "Revised" License
196 stars 80 forks source link

How to add variable? #226

Open MikhaelD777 opened 4 years ago

MikhaelD777 commented 4 years ago

Hi community,

I tried to use the login_system-cache as a material to learn, since its short and effective, however after hours of trying I didnt really make to work creating a new, functional variable. I managed to add it into the code by using as an example variable "Interior", I also created a new variable inside of my Phpmyadmin table, however once I setted the variable to certain value on server and I quit the game, that variable did not save. Is there any simple and short explanation on how could I do this? I would be more, than thankful for so.