SA-MP Forums Archive
Help mysql - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help mysql (/showthread.php?tid=639244)



Help mysql - Tirael - 13.08.2017

I made this query:

pawn Код:
format(string, sizeof(string), "SELECT personajes.Character FROM vehiculos LEFT JOIN personajes ON vehiculos.carOwner=personajes.ID WHERE vehiculos.IdCoche=%d", vehicleid);
The idea is to get the car id from the vehicle table and the sql id of the user and then get the name of that id.

How can I store it in a type variable to see the name?

new Name[32];