12.06.2015, 22:23
I'm not sure about how works the MySQL plugin right now for SA-MP, 'cause I didn't use it for a long time, but there must be something like mysqli_real_escape_string, that should avoid SQL Injection.
Probably this isn't 100% secure, but it's enough.
I didn't understand your question at all, are you going to allow users to crack an ATM in-game (in a RP gamemode probably) using real SQL code? In my opinion, that's not a good idea because I think there isn't any way to say "disable SQL Injection there and there not".
Use PAWN for in-game systems.
Probably this isn't 100% secure, but it's enough.
I didn't understand your question at all, are you going to allow users to crack an ATM in-game (in a RP gamemode probably) using real SQL code? In my opinion, that's not a good idea because I think there isn't any way to say "disable SQL Injection there and there not".
Use PAWN for in-game systems.