[Help] Command needed - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] Command needed (
/showthread.php?tid=78414)
[Help] Command needed -
[Sk]Noob - 19.05.2009
I need a command /dropgun
i need it to drop the gun i got in my hands..
Re: [Help] Command needed -
MenaceX^ - 19.05.2009
It needs to be in Script Request Thread.
Re: [Help] Command needed -
[Sk]Noob - 19.05.2009
I dont realy know where it is so i did it here 0.0
Re: [Help] Command needed -
BP13 - 19.05.2009
you cant really drop your gun. but you can disarm it.
and request it here
http://forum.sa-mp.com/index.php?topic=94387.0
Re: [Help] Command needed -
MenaceX^ - 19.05.2009
Couldn't you see it?
It's stickied to Script Discussion..
http://forum.sa-mp.com/index.php?topic=94387.0
Though read forum rules. It's neccessary.
Re: [Help] Command needed -
Diogo_Linheiro - 19.05.2009
pawn Код:
if(strcmp(cmd, "/dropweapon", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new weapon;
new ammo;
ammo=GetPlayerAmmo(playerid);
weapon=GetPlayerWeapon(playerid);
if(ammo == 0) return true;
GivePlayerWeapon(playerid, weapon, -ammo);
}
return true;
}