PlayerWeapon Help
#5

Quote:
Originally Posted by ikarus
Посмотреть сообщение
pawn Код:
//Under OnPlayerCommandText
if(strcmp(cmdtext,"/mp5",true)==0)
{
GivePlayerWeapon(playerid,29,500);
return 1;
}
if(strcmp(cmdtext,"/minigundm,true)==0)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,38,150000);
return 1;
}
That's from me, for get the weapons back when he's leaving a DM you should make another command, which is not so short I guess.
Use this - https://sampforum.blast.hk/showthread.php?tid=118885 to request your scripts.
thats like what im using now... but then when the guy exits minigun dm and goes to lsair, he now has a minigun..
Reply


Messages In This Thread
PlayerWeapon Help - by Kevin_Joshen - 29.07.2010, 05:52
Re: PlayerWeapon Help - by Lorenc_ - 29.07.2010, 06:09
Re: PlayerWeapon Help - by [MWR]Blood - 29.07.2010, 06:14
Re: PlayerWeapon Help - by Kevin_Joshen - 29.07.2010, 06:15
Re: PlayerWeapon Help - by Kevin_Joshen - 29.07.2010, 06:17
Re: PlayerWeapon Help - by Kevin_Joshen - 29.07.2010, 06:41
Re: PlayerWeapon Help - by XtremePlanet - 29.07.2010, 06:54
Re: PlayerWeapon Help - by [MWR]Blood - 29.07.2010, 08:25
Re: PlayerWeapon Help - by Kevin_Joshen - 29.07.2010, 09:10
Re: PlayerWeapon Help - by Vince - 29.07.2010, 10:49

Forum Jump:


Users browsing this thread: 2 Guest(s)