Posts: 44
Threads: 5
Joined: Jun 2015
Reputation:
0
Hello, I am having a doubt for coding...can just anyone help me to give the code or any ideas please ?
1. Create a MYSQL connection
2. If tables / rows doesn't exist there should be a query in the script to
create them.
3. Load vehicles from the database
4. A user stat base which logges the user's name , score , IP , passsword (
should be encrypted) & userID ( auto increment ).
5. A ban database
Using zcmd (the include ) create the following stuff
/setscore [id] command
/ giveallscore cmd
/kick [id]
/ban [id]
Posts: 33
Threads: 4
Joined: Dec 2014
Reputation:
0
The idea is to learn how to code first, then create systems like the ones you mentioned, not ask people to give you entire codes, resulting in you barely picking anything up. There are lots of great MySQL and SAMP scripting tutorials on the internet, in both text and video format. Use ****** and *******.
Posts: 44
Threads: 5
Joined: Jun 2015
Reputation:
0
I know but I will learn from the code if you provide. Understand the situation.
Posts: 44
Threads: 5
Joined: Jun 2015
Reputation:
0
I will try to do this..but can anyone help me for the dialog thing ? It's pretty much hard for me.
Posts: 293
Threads: 37
Joined: Jun 2012
Reputation:
0
you should learn about it,
we can't just give you a script
Posts: 165
Threads: 18
Joined: Jul 2013
Reputation:
0
Learn it yourself, then you'll know a lot more about how to code in MySQL than if you were just given the code
Posts: 44
Threads: 5
Joined: Jun 2015
Reputation:
0
Can a anyone provide me a good PAWN and MYSQL Scripting video ?
Posts: 1,938
Threads: 16
Joined: Feb 2007
Reputation:
0
Did you know that if you use the magic that is ****** and use 'site:forum.sa-mp.com' you can find everything you just described and that more magic happens?
If you keep asking for stuff, you are only littering the forum and searching will become harder because of topics like this.
Posts: 44
Threads: 5
Joined: Jun 2015
Reputation:
0
Also, the dialog thing :-A command which opens up a dialog and does the following:
A dialog which allows the user to be teleported somewhere
A dialog which gives health + armour to the player
A dialog which gives the player weapons