sina alex Posted November 9, 2022 Posted November 9, 2022 hello all am about to create an rp gamemode and i just aware there is a new system named ORM that meke easy all db side codings. please link any forum that have information about it our please show me simple usages/command/syntaxe that will help me to grow my game mode. i have some basic knowledge on samp pawn coding
Banditul Posted November 9, 2022 Posted November 9, 2022 A good example is from mysql repository itself https://github.com/pBlueG/SA-MP-MySQL/blob/master/example_scripts/login_system-orm.pwn And documentation https://team.sa-mp.com/wiki/MySQL_R40.html The ORM section which is first in the documentation
sina alex Posted February 16, 2023 Author Posted February 16, 2023 hello i read tutorials but there is a problem for me to place my informations to complate puzzle i create a bank using mysql in the login fs that use orm to create and register values for player who login or register(i just know some part of sample code like how create orm how to register values) now i want to make another fs for cmds there i need informations like admin lvl and .. from db idk how i must use orm and how must use syntaxes to first connect to db and then load informations i just use my last samples like connecting to db but about loading information i need help and samples anyone can help?
Pa4enka Posted February 16, 2023 Posted February 16, 2023 (edited) Your mistake is not that you don't know how to do it, but that you made a strategic mistake when planning your gamemode structure: I don't recommend using filterscripts as modules. You should use inludes and you won't have this problem... Edited February 16, 2023 by Pa4enka
sina alex Posted February 16, 2023 Author Posted February 16, 2023 56 minutes ago, Pa4enka said: Your mistake is not that you don't know how to do it, but that you made a strategic mistake when planning your gamemode structure: I don't recommend using filterscripts as modules. You should use inludes and you won't have this problem... then i must learn to make my extra plus codes as a include and use them on my game mode,hah? 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now