[FilterScript] [FS] Top 10 Players MySQL
#1

Hello everyone, first of all pardon my English, but I'm using a translator because I am from Argentina.
This is a simple filterscript, with queries to servers that use mysql.

Replace the data from "KILLS", "DEATHS", "name" Banner "by using its tables.

Код:
format(query, sizeof(query), "SELECT name, banned, kills, deaths FROM users WHERE kills>deaths ORDER BY kills-(deaths/2) DESC LIMIT 10");
samp_mysql_query(query);
Other Example:
Код:
format(query, sizeof(query), "SELECT nombre, ban, asesinatos, muertes FROM usuarios WHERE asesinatos>muertes ORDER BY asesinatos-(muertes/2) DESC LIMIT 10");
samp_mysql_query(query);
Bye
Reply
#2

Ive made it possible with php but its the first time ive personally seen it ig.
Nice job!
Reply
#3

wow great
Reply
#4

I have the version with PHP as my server I use runs with mysql web. I did this to post it here because it is my first post in the samp forum. and wanted to start a big .. I'm trying to make a top with dini, or dudb, almost finish it so any server may have top players ... jaja
Reply
#5

hay amigo no entiendo como funciona pero funciona para la web ?
Reply
#6

no este es un idiota! lo conosco me pedia ayuda por todo no sirve si no le hacne el query es una sentencia vacia y sin sentido.
Reply
#7

nice mate. keep it up
Reply
#8

what abt the latest mysql r7 plugin please help
mysql_query format is changed,
can i get new version dude,,
i tried a lot scripting top!
Reply
#9

Quote:
Originally Posted by xenowort
Посмотреть сообщение
no este es un idiota! lo conosco me pedia ayuda por todo no sirve si no le hacne el query es una sentencia vacia y sin sentido.
You're the only idiot here.
Reply
#10

Quote:
Originally Posted by ShivRp
Посмотреть сообщение
what abt the latest mysql r7 plugin please help
mysql_query format is changed,
can i get new version dude,,
i tried a lot scripting top!
mysql_query change it to mysql_function_query
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)