[FilterScript] xRobbery - Safe Robbery System // by XpDeviL
#4

Why are you using pVars?

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)