09.04.2017, 20:06
Why are you using pVars?
What is this? Why waste 128 cells (Pretty much everywhere in the script)? Also, consider updating your MySQL plugin.
Also, using stock keyword isn't even needed, just leave the functions your FS will use.
PHP Code:
GetPVarInt(playerid, "pSafeID");
GetPVarInt(playerid, "robbedMoney");
GetPVarInt(playerid, "safeMode");
GetPVarInt(playerid, "tmp_safe");
PHP Code:
new str[128];
format(str, sizeof(str), "DELETE FROM `xrob_safes` WHERE `ID`=%d", sid);
mysql_query(mysqlB, str);