DM with weapons
#2

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/dm", cmdtext, true, 3) == 0)

	{
      SetPlayerPos(playerid, 594.1962,-2199.6958,41.5080);
       SendClientMessage(playerid, 0x000000FF, "%s has join (/dm)");
       GivePlayerWeapon(playerid,Weaponid,ammo);
       GivePlayerWeapon(playerid,Weaponid,ammo);
       GivePlayerWeapon(playerid,Weaponid,ammo);
       return 1;
       }
       return 0;
}
Use the https://sampwiki.blast.hk/wiki/Weapons To see the weapons id..
Reply


Messages In This Thread
DM with weapons - by karla - 31.03.2009, 14:32
Re: DM with weapons - by basker - 31.03.2009, 14:34
Re: DM with weapons - by MenaceX^ - 31.03.2009, 14:34
Re: DM with weapons - by Metorea - 31.03.2009, 14:35
Re: DM with weapons - by karla - 31.03.2009, 15:16

Forum Jump:


Users browsing this thread: 1 Guest(s)