QUESTION about Weapons on /duty
#1

Hi all,

Its like this:
My server has a SWAT Part in LSPD,

But they need M4's,
How can i add M4 Or other weapons to the Faction,
Must be given to me when i do /policeduty
Reply
#2

pawn Код:
if (strcmp("/PoliceDuty", cmd, true, 10) == 0)
{

if(GetPlayerTeam==SWAT)
{
GivePlayerWeapon(playerid, 31, 2000);
SendClientMessage(playerid, COLOR_GREEN, "You're on duty!");
}
else SendClientMessage(playerid, COLOR_GREEN, "You're not in team Swat!");
return 1;
}
want it like this?

Cheers,

DeathOnaStick
Reply
#3

GivePlayerWeapon(playerid,weapondid,ammo); ? if i am not right you are looking for this code ...

or look here

https://sampwiki.blast.hk/wiki/Weapons
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)