21.03.2010, 16:13
Hey,
i wants to give other players my own Weapon.
I've need it in a small dialog.
I would be happy, if you can tell me how to do that.
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);