xRobbery - Safe Robbery System // by XpDeviL -
XpDeviL - 09.04.2017
Hi everyone,
It's a safe robbery system. You can create safes and make players rob them. You can simply rob safes by typing
/rob.
Commands
/rob : You can rob safes by using this command. First you will try to crack the safe then you'll rob the safe.
/createsafe : You can easily create safes with this command. Just type it and set the safes position.
/editsafe [safe id] : Edits selected safe.
/deletesafe [safe id] : Deletes seleted safe.
Images
Video
https://*********/FnYU5s2RdtU
Download
GitHub
Mediafire
Requirements
Zcmd - (
Topic)
y_Iterate (
YSI Github)
BlueG's MySQL (
Topic)
Re: xRobbery - Safe Robbery System // by XpDeviL -
Eoussama - 09.04.2017
Fantastic work, truly unique,
5 starts and +REP
Re: xRobbery - Safe Robbery System // by XpDeviL -
khRamin78 - 09.04.2017
Nice and usefull
Re: xRobbery - Safe Robbery System // by XpDeviL - Jelly23 - 09.04.2017
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(str, sizeof(str), "DELETE FROM `xrob_safes` WHERE `ID`=%d", sid);
mysql_query(mysqlB, str);
Also, using stock keyword isn't even needed, just leave the functions your FS will use.
Re: xRobbery - Safe Robbery System // by XpDeviL -
XpDeviL - 09.04.2017
Quote:
Originally Posted by Jelly23
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(str, sizeof(str), "DELETE FROM `xrob_safes` WHERE `ID`=%d", sid);
mysql_query(mysqlB, str);
Also, using stock keyword isn't even needed, just leave the functions your FS will use.
|
I used PVars for temporary needed variables. Used and deleted when it's done.
Yeah cell lenghts are too much you're right. I copied and pasted MySQL queries for gain time. I forgot to change cell lengths.
Thank you.
Re: xRobbery - Safe Robbery System // by XpDeviL -
Bolex_ - 10.04.2017
As Jelly said, update your MYSQL plugin and update pastebin please !
Re: xRobbery - Safe Robbery System // by XpDeviL -
XpDeviL - 10.04.2017
Quote:
Originally Posted by Bolex_
As Jelly said, update your MYSQL plugin and update pastebin please !
|
I used MySQL R41-2?
Re: xRobbery - Safe Robbery System // by XpDeviL - Astralis - 10.04.2017
Looks good from textdraws too.
Respuesta: xRobbery - Safe Robbery System // by XpDeviL -
Gles - 10.04.2017
Excelent Job!
Re: xRobbery - Safe Robbery System // by XpDeviL -
nieXpro - 12.04.2017
Burayı dьzeltin isterseniz:
Code:
else print("[xRobbery MySql] The connection has failed!\n\n[!!! xVehicle v2 couldn't init !!!]\n\n");
Re: xRobbery - Safe Robbery System // by XpDeviL -
maaakichuuuu - 14.11.2018
link please its expire
Re: xRobbery - Safe Robbery System // by XpDeviL -
maaakichuuuu - 14.11.2018
update the link
Re: xRobbery - Safe Robbery System // by XpDeviL -
XpDeviL - 03.12.2018
I couldn't see any problem with the links 🤔 However, I've added a new GitHub link, just in case.