MYSQL CreateObject - 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: MYSQL CreateObject (
/showthread.php?tid=440927)
MYSQL CreateObject -
A7X_CEEJAY - 31.05.2013
Hello folks.
I am just wondering, could I use a MYSQL X Y and Z to insert an object into my game mode.
What I am trying to do, is make ATM machine objects, which then refer to a MYSQL ID.
So, say;
ATM1 has an X of 100, an Y of 100, a Z of 0 and is ID 1 in the table.
How would I do a createobject with that :$?
(P.S: I want it so if I add another ATM into the MYSQL Table "atms" it will create it IG automatically.)