/give
Moderators: Forum Moderators, Server Moderators
Forum rules
Suggestions is a moderated OOC forum.
Inflammatory bullshit, thread de-railing, or anything other than suggestions or constructive criticism may result in punitive action.
Suggestions is a moderated OOC forum.
Inflammatory bullshit, thread de-railing, or anything other than suggestions or constructive criticism may result in punitive action.
- Tom_Anderson
- keep your distance i'm a carrier
- Posts: 83.0
- Joined: January 10th, 2008, 6:49 pm
/give
I think there should be a /give command just cause it can be very useful like when someone wants to buy some materials off of you you would /give mats 1400 or whatever. It would work by /give [drugs/mats/guns]. I think it's a good idea cause in battle it can be very useful. Like when a guy doesn't have any weapon and you pass it to them. The reason I want it is simply cause in real life you can pass things, why not in game?
-
- Posts: 18.0
- Joined: February 7th, 2008, 12:21 am
Re: /give
That will be insane...
Insted of transfering the whole amount of mats, you can only transfer a fraction of it...
Umm an example will explain it better.
/give mats Nurgle 1000
but Nurgle only gets 750 mats...
Others are lost in dealing...
Insted of transfering the whole amount of mats, you can only transfer a fraction of it...
Umm an example will explain it better.
/give mats Nurgle 1000
but Nurgle only gets 750 mats...
Others are lost in dealing...
Re: /give
I agree with Tom it seems good to pass things to friends.
Like if i have a shit ton of mats/drugs/guns on me and /give [id#] [amount] [drug,gun,material]
Kini i dont like your idea cause i dont want to lose 250 mats because i handed it to my friend, i would just tell him to pick that shit up.
Also Tom I think that just like /fwithdraw /fdeposit should have a mat and drug section.
drug section might already be in but i dont know how to use it. word on the street is you get crack for holding the drug den...
but a mat section would be sweet. that way when its war time we can just outfit our soldiers with community mats.
Like if i have a shit ton of mats/drugs/guns on me and /give [id#] [amount] [drug,gun,material]
Kini i dont like your idea cause i dont want to lose 250 mats because i handed it to my friend, i would just tell him to pick that shit up.
Also Tom I think that just like /fwithdraw /fdeposit should have a mat and drug section.
drug section might already be in but i dont know how to use it. word on the street is you get crack for holding the drug den...
but a mat section would be sweet. that way when its war time we can just outfit our soldiers with community mats.
-
- Posts: 1.0
- Joined: March 21st, 2008, 3:10 am
Re: /give
ye, this looks really good, you could buy low, sell high sort of thing, it could be put at a restriction? so, you can only /give 10,000 mats a day, and only receive 10,000 mats a day (24 hours) sort of like fishing, where you have to wait.
- Tom_Anderson
- keep your distance i'm a carrier
- Posts: 83.0
- Joined: January 10th, 2008, 6:49 pm
Re: /give
And when you /give mats you can actually give it to other arms dealers for some cash, it would be pretty awesome.
-
- Posts: 16.0
- Joined: March 13th, 2008, 8:01 pm
- Location: Ontario, Canada
Re: /give
I seriously want this in. Right now I have a m4, spas12 and mp5 on hand, and had no room in my locker. /give would be perfect for this situation. Also if a dealer gives the wrong gun which I see people do, he can just give the gun back and do it over saving him money. This will add to the "RP" factor on the server aswell.
- Tom_Anderson
- keep your distance i'm a carrier
- Posts: 83.0
- Joined: January 10th, 2008, 6:49 pm
Re: /give
So you guys think this should be considered? I find it that lots of people like the idea and want it in. :p
- Chris Hansen
- can't find his mod
- Posts: 1446.0
- Joined: January 1st, 2008, 8:12 am
- Contact:
Re: /give
I agree that you should be able to /give mats and charge for them, but you can already sell people guns and drugs.
However, the command should probably be limited by player level like /contract, /transfer, and /wiretransfer.
However, the command should probably be limited by player level like /contract, /transfer, and /wiretransfer.
this post was a Serious Post, handcrafted with care for Rachael
Re: /give
Dangerous is that semi-illegal guns like knifes, deagles and snipers can then be spread.
I think that in many situations this will turn into an excuse for having a gun (towards admins and towards law enforcement).
Therefor it won't be easy (it has to be double checked in the code that it's allright to do so) and will probably come with many bugs.
It's a great idea and will add alot but I don't think we will see this in the coming months since the developers are using their time for moving to MTA.
I think that in many situations this will turn into an excuse for having a gun (towards admins and towards law enforcement).
Therefor it won't be easy (it has to be double checked in the code that it's allright to do so) and will probably come with many bugs.
It's a great idea and will add alot but I don't think we will see this in the coming months since the developers are using their time for moving to MTA.
- Gook_Johnson
- Posts: 945.0
- Joined: July 24th, 2008, 5:40 pm
Re: /give
Well, you would only be able to /give guns that show on /frisk. No rockets and shit. Besides, if a LEO /gave a deagle, insta-fire probally.Adj wrote:Dangerous is that semi-illegal guns like knifes, deagles and snipers can then be spread.
I think that in many situations this will turn into an excuse for having a gun (towards admins and towards law enforcement).
Therefor it won't be easy (it has to be double checked in the code that it's allright to do so) and will probably come with many bugs.
It's a great idea and will add alot but I don't think we will see this in the coming months since the developers are using their time for moving to MTA.
Re: /give
maybe we would be able to give only specified guns, like mp5, SDpistol, m4, etc. Not allAdj wrote:Dangerous is that semi-illegal guns like knifes, deagles and snipers can then be spread.
I think that in many situations this will turn into an excuse for having a gun (towards admins and towards law enforcement).
Therefor it won't be easy (it has to be double checked in the code that it's allright to do so) and will probably come with many bugs.
It's a great idea and will add alot but I don't think we will see this in the coming months since the developers are using their time for moving to MTA.
-
- super kawaii ^_^!!!!!!!!
- Posts: 387.0
- Joined: December 31st, 2007, 10:07 am
Re: /give
mr_shamli wrote:maybe we would be able to give only specified guns, like mp5, SDpistol, m4, etc. Not allAdj wrote:Dangerous is that semi-illegal guns like knifes, deagles and snipers can then be spread.
I think that in many situations this will turn into an excuse for having a gun (towards admins and towards law enforcement).
Therefor it won't be easy (it has to be double checked in the code that it's allright to do so) and will probably come with many bugs.
It's a great idea and will add alot but I don't think we will see this in the coming months since the developers are using their time for moving to MTA.
If your going to nerf it that bad, whats the point? It would be just as easy to get said items off a arms dealer?
<DoctorJones> actually greg was really accurate
<DoctorJones> [08:13:19 PM] Greg_Moyer: Time untill unban request comes in from blitz: t-minus 5 minutes
<DoctorJones> [08:18:41 PM] *** Blitz has joined #gta.
<tmm3k> 22 seconds off
<Godamnit> And thats why Greg > You
<DoctorJones> [08:13:19 PM] Greg_Moyer: Time untill unban request comes in from blitz: t-minus 5 minutes
<DoctorJones> [08:18:41 PM] *** Blitz has joined #gta.
<tmm3k> 22 seconds off
<Godamnit> And thats why Greg > You
- anarchcow
- Posts: 562.0
- Joined: July 31st, 2008, 7:08 pm
- Game Name(s): Eliad_Asulin
- Location: California
Re: /give
I think the whole idea would only be useful with inner-family trading when a specific vendor is not available (guns, mats, drugs).Greg_Moyer wrote:mr_shamli wrote:maybe we would be able to give only specified guns, like mp5, SDpistol, m4, etc. Not allAdj wrote:Dangerous is that semi-illegal guns like knifes, deagles and snipers can then be spread.
I think that in many situations this will turn into an excuse for having a gun (towards admins and towards law enforcement).
Therefor it won't be easy (it has to be double checked in the code that it's allright to do so) and will probably come with many bugs.
It's a great idea and will add alot but I don't think we will see this in the coming months since the developers are using their time for moving to MTA.
If your going to nerf it that bad, whats the point? It would be just as easy to get said items off a arms dealer?
- Tom_Anderson
- keep your distance i'm a carrier
- Posts: 83.0
- Joined: January 10th, 2008, 6:49 pm
Re: /give
Code: Select all
//-------------------------------[giveweapon]-------------------------------------------------------------------
if(strcmp(cmd, "/give", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /give [playerid/PartofName] [name] [amount*]");
SendClientMessage(playerid, COLOR_GRAD1, "NAME: Gun, Mats, Drugs");
SendClientMessage(playerid, COLOR_RED, "* - This value is used for Mats and Drugs.");
return 1;
}
giveplayerid = ReturnUser(tmp);
new GiveType[256];
GiveType = strtok(cmdtext, idx);
if(!strlen(GiveType))
{
SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /give [playerid/PartofName] [name] [amount*]");
SendClientMessage(playerid, COLOR_GRAD1, "NAME: Gun, Mats, Drugs");
return 1;
}
if(IsPlayerConnected(giveplayerid))
{
if(ProxDetectorS(5.0, playerid, giveplayerid))
{
tmp = strtok(cmdtext, idx);
if(strcmp(GiveType, "gun", true) == 0)
{
new playergun;
new playerammo;
playergun = GetPlayerWeapon(playerid);
playerammo = GetPlayerAmmo(playerid);
if(playergun < 1)
{
SendClientMessage(playerid, COLOR_GREY, " You don't have a weapon !");
return 1;
}
if(playerammo < 1)
{
SendClientMessage(playerid, COLOR_GREY, " You don't have ammo !");
return 1;
}
if(playergun > 0)
{
GivePlayerWeapon(playerid, playergun, -playerammo);
GivePlayerWeapon(giveplayerid, playergun, playerammo);
GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string,sizeof(string), " %s has given you a weapon", sendername);
SendClientMessage(giveplayerid, COLOR_GREEN, string);
format(string,sizeof(string), " You have given %s a weapon", giveplayer);
SendClientMessage(playerid, COLOR_GREEN, string);
}
}
if(strcmp(GiveType, "mats", true) == 0)
{
moneys = strval(tmp);
if(PlayerInfo[playerid][pMats] < 1)
{
SendClientMessage(playerid, COLOR_GRAD1, " You don't have Materials !");
return 1;
}
if(PlayerInfo[playerid][pMats] < moneys)
{
SendClientMessage(playerid, COLOR_GRAD1, " You don't have that many Materials !");
return 1;
}
if(PlayerInfo[playerid][pMats] >= moneys)
{
PlayerInfo[giveplayerid][pMats] += moneys;
PlayerInfo[playerid][pMats] -= moneys;
GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string,sizeof(string), " %s has given you %d Materials", sendername, moneys);
SendClientMessage(giveplayerid, COLOR_GREEN, string);
format(string,sizeof(string), " You have given %s %d Materials", giveplayer, moneys);
SendClientMessage(playerid, COLOR_GREEN, string);
}
}
if(strcmp(GiveType, "drugs", true) == 0)
{
moneys = strval(tmp);
if(PlayerInfo[playerid][pDrugs] < 0)
{
SendClientMessage(playerid, COLOR_GRAD1, " You dont have Drugs !");
return 1;
}
if(PlayerInfo[playerid][pDrugs] < moneys)
{
SendClientMessage(playerid, COLOR_GRAD1, " You dont have that many Drugs !");
return 1;
}
if(PlayerInfo[playerid][pDrugs] >= moneys)
{
PlayerInfo[giveplayerid][pDrugs] += moneys;
PlayerInfo[playerid][pDrugs] -= moneys;
GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string,sizeof(string), " %s has given you %d Drugs", sendername, moneys);
SendClientMessage(giveplayerid, COLOR_GREEN, string);
format(string,sizeof(string), " You have given %s %d Drugs", giveplayer, moneys);
SendClientMessage(playerid, COLOR_GREEN, string);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not near that person !");
return 1;
}
}
}
return 1;
}
Last edited by Tom_Anderson on October 16th, 2008, 3:33 pm, edited 1 time in total.
- Tom_Anderson
- keep your distance i'm a carrier
- Posts: 83.0
- Joined: January 10th, 2008, 6:49 pm
Re: /give
I didn't remove the ammo part yet. Just so you know.
-
- BESTMIN
- Posts: 1713.0
- Joined: February 2nd, 2008, 5:11 am
Re: /give
you could try removing some typo's too
"drugss" " dont "
"drugss" " dont "
- Tom_Anderson
- keep your distance i'm a carrier
- Posts: 83.0
- Joined: January 10th, 2008, 6:49 pm
Re: /give
Yeah, sorry about that. Was in a rush.
EDIT: All fixed.
EDIT: All fixed.