-
[CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Right, Ive just translated this from a server i got given. And Since none of you have coded it yet / published on ragezone, I thought why not publish it
Right heres the command:
Code:
#region obtain/buy
case "obtain": // Buy a weapon
case "buywep": // Buy a weapon
{
if (_roomID != 25)
{
sendData("BK" + "You must be at a weapon shop to obtain one!");
}
else
{
string weapon = args[1];
{
if (weapon == "bat")
{
string drinkid;
drinkid = "??";
sendData("BK" + "*Purchases a Bat*");
statusManager.carryItem(drinkid);
DB.runQuery("UPDATE users SET credits = credits - '??' WHERE name = '" + _Username + "'");
DB.runQuery("UPDATE users SET bat = '1' WHERE name = '" + _Username + "'");
}
if (weapon == "bottle")
{
string drinkid;
drinkid = "??";
sendData("BK" + "*Purchases a Bottle*");
statusManager.carryItem(drinkid);
DB.runQuery("UPDATE users SET credits = credits - '??' WHERE name = '" + _Username + "'");
DB.runQuery("UPDATE users SET bottle = '1' WHERE name = '" + _Username + "'");
}
if (weapon == "gun")
{
string drinkid;
drinkid = "??";
statusManager.carryItem(drinkid);
sendData("BK" + "*Purchases a Gun*");
DB.runQuery("UPDATE users SET credits = credits - '??' WHERE name = '" + _Username + "'");
DB.runQuery("UPDATE users SET gun = '1' WHERE name = '" + _Username + "'");
}
if (weapon == "bullets")
{
sendData("BK" + "*Purchases ?? Bullets*");
DB.runQuery("UPDATE users SET credits = credits - '??' WHERE name = '" + _Username + "'");
DB.runQuery("UPDATE users SET bullets = bullets + '??' WHERE name = '" + _Username + "'");
}
}
}
}
break;
#endregion
You'l haveto change the text in red to your DCR number thing.
And change all green text to what you want (For some its credits and other its amount of bullets etc..)
Now time for the lovely credits:
Credits:
Cobe: For Giving me command
Me For Translating it into Non-TDBP ( Calebs server)
Caleb: For making pheonix server so i can translate
Sledmore For Helping me learn to code
Xavi For CCTs
OH you need to add
bat, bullets gun and bottle :)
Enjoy Guys..
BUT Other than that
95% CREDITS TO COBE FOR COMMAND!
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
How is Aaron inspiration?
He never released weapons..
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Quote:
Originally Posted by
Shacobesaurus
How is Aaron inspiration?
He never released weapons..
Because he made the RP. And I doubt Any of the weps would be here if he hadnt made HabboRP
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
These commands aren't "RP" orientated. :]
You can use these for about any type of hotel..
As all these do is brings out a drink item..
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Removed his credits then :\
Anyways cmon anyone else?
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Nice release but im not into rp anymore :P
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Quote:
Originally Posted by
♫Žak♫ ツ
Nice release but im not into rp anymore :P
Lol - Thanks
(Add me Zak - DJCeejay@myself.com)
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Will it Stop it from Drinking the Weapon??
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Nice release, Thanks for credits. I don't like weapons tbh lol. I added them in my RP cause it attracted users, But In my own opinion, Don't like em, Too easy to kill.
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Nice Release, Im making a rp soon sure to use ;)
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Quote:
Originally Posted by
cooldude159
Will it Stop it from Drinking the Weapon??
Quote:
Originally Posted by
Sledmore
Nice release, Thanks for credits. I don't like weapons tbh lol. I added them in my RP cause it attracted users, But In my own opinion, Don't like em, Too easy to kill.
Quote:
Originally Posted by
Seano2o6
Nice Release, Im making a rp soon sure to use ;)
Thanks guys :)
Sledmore - I agree but yano
cooldude Idk Tbh. you'd haveto do it
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
You didnt have to.. just trying to make a point D;
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
pretty good release thanks :D
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Thanks guys ;) Much appriciated.
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Updated main thread of what people change for price and shit like that :P I forgot to do it
DUHH Lazy me (N)
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
I'm going to release my whole weapon system today
I've been really lazy on my releases xD
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Lol Cobe if you want send them to me on msn first, then i can quickly convert to non-tdbp :P ( E.G Pheonix)
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Cobe plz release em Dx im been dying forthem Dx
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
CJ idk if they are still in Blackbird?
They're in HobbaRP's old one,
But i usually dont double post,
so when someone replies to my thread, that is when i'll release em
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Quote:
Originally Posted by
Shacobesaurus
CJ idk if they are still in Blackbird?
They're in HobbaRP's old one,
But i usually dont double post,
so when someone replies to my thread, that is when i'll release em
In ur old One ive got of urs i can only find obtain gun at a quick glance.. But i'l do a more detailed search now.
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Well thank you for this CeeJay.
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
-
Re: [CEEJAY][RP]Obtain a weapon[RP][CEEJAY]
Quote:
Originally Posted by
Xavi.
umm, u didnt credi me? i originally coded weapons with the ccts then it gt ripped and leakd...
I didn't know you did them... i'l add credits
Quote:
Originally Posted by
Shacobesaurus™
all you did was the cct
Mmk, I'l add him as ccts only
Quote:
Originally Posted by
Xavi.
i also did the codes? i released them for a short period of time till thread gt closed. they look similar to these bt y didnt u add dead, arrestd. jailed etc checkers?
I have no proof of you coding so therefor u can have credits for cct only and read the thread, I only CONVERTED it from cobes server to calebs, i didnt code this kk?
Quote:
Originally Posted by
Shacobesaurus™
Because the weapon system was never finished, If you check my thread i disabled all bullet entries because they tampered w/ the damage causing a user's life to be -9000
No comment.
Quote:
Originally Posted by
Xavi.
jst typd in the other thread, i cba to do here aswell as im on my fone
Its called quoting my friend
Quote:
Originally Posted by
BlackRock
Nice Release.
Thanks dude (:
Quote:
Originally Posted by
Faggot
Well thank you for this CeeJay.
Your very welcome! Oh and THANKYOU!!!!!! sOMEONE CALLED ME CEEJAY!! :)
Quote:
Originally Posted by
StrongFaith
Well done >:)<
Thankooo