/dropgun CMD - I need help
#1

Well im looking for someone who can make /dropgun command for me cuz my gm needs only this cmd when its done ill run the server on 24/7

Contact me : Mr.shark2007@msn.com

Reply
#2

Uhmmm.. Try this
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/dropgun", cmdtext, true, 8) == 0)
{
ResetPlayerWeapons(playerid);
return 1;
}

return 0;
}
Reply
#3

Thanks for ur reply but ididnt mean this one


I meant /dropgun - it drops the gun you holding right now and when u /dropgun it, it makes a gun object for example : u dropped MP5 It automaticaly makes mp5 object under you
Reply
#4

here: http://forum.sa-mp.com/index.php?top...499#msg1009499

just follow the example and change it to your needs.
Reply
#5

Quote:
Originally Posted by russooooo
here: http://forum.sa-mp.com/index.php?top...499#msg1009499

just follow the example and change it to your needs.
Ahhhh thank you very much this worked what about /pickupgun - picks up a gun when i drop a gun
Reply
#6

Quote:
Originally Posted by mr.shark
Quote:
Originally Posted by russooooo
here: http://forum.sa-mp.com/index.php?top...499#msg1009499

just follow the example and change it to your needs.
Ahhhh thank you very much this worked what about /pickupgun - picks up a gun when i drop a gun
ahh you don't need that. If you do it correctly it should make a pickup that you can just walk over
Reply
#7

Quote:
Originally Posted by luigifan9
Quote:
Originally Posted by mr.shark
Quote:
Originally Posted by russooooo
here: http://forum.sa-mp.com/index.php?top...499#msg1009499

just follow the example and change it to your needs.
Ahhhh thank you very much this worked what about /pickupgun - picks up a gun when i drop a gun
ahh you don't need that. If you do it correctly it should make a pickup that you can just walk over
No, you can't. It's an object of the gun not a pickup.

Now i'm kinda busy, i'll take a look tomorrow or something.
Reply
#8




I can + isaw it in another server when u type /pickitem the object gets destroyed and then u get the gun

but i dont know how to do it.... i hope if you help me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)