need help - 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)
+--- Thread: need help (
/showthread.php?tid=526588)
need help -
saffierr - 18.07.2014
Hello,
I wanted to make a /shareammo cmd, so that players can share their ammo.
But how to script that if someone doesn't have a weapon to say "ERROR: You don't have a weapon!"
And how to script that, example: I do /shareammo 1 50, to say in the chat "(My Name) shared his ammo" to call a name.
Re: need help -
Clad - 18.07.2014
https://sampwiki.blast.hk/wiki/GetPlayerWeaponData