[Question]Give own Weapon to other Players - 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: [Question]Give own Weapon to other Players (
/showthread.php?tid=135710)
[Question]Give own Weapon to other Players -
_soad_ - 21.03.2010
Hey,
i wants to give other players my own Weapon.
I've need it in a small dialog.
pawn Код:
if(listitem == 3)
{
GetPlayerName(playerid, aname, sizeof(aname));
GetPlayerName(c_var[playerid], cn_var, sizeof(cn_var));
// give there Weapon, which i have in my Hands in the moment.
GivePlayerWeapon(cn_var, ? ? ? , ? ? ?)
format(string2, sizeof(string2), "%s has sent a weapon to you", aname);
SendClientMessage(c_var[playerid],0x0ffff, string2);
I would be happy, if you can tell me how to do that.
Re: [Question]Give own Weapon to other Players -
_soad_ - 21.03.2010
no one can help?