RemovePlayerWeapon
#2

Код:
stock RemovePlayerWeapon(playerid, weaponid)
{ // Not mine :3
	new plyWeapons[12] = 0;
	for(new sslot = 0; sslot != 12; sslot++)
	{
		GetPlayerWeaponData(playerid, sslot, wep);
		if(wep != weaponid != 0) GetPlayerWeaponData(playerid, sslot, plyWeapons[sslot]);
	}
	ResetPlayerWeapons(playerid);
	for(new sslot = 0; sslot != 12; sslot++) GivePlayerWeapon(playerid, plyWeapons[sslot]);
	return 1;
}
You think for this ?
Reply


Messages In This Thread
RemovePlayerWeapon - by Trevor Gin - 22.02.2015, 21:46
Re: RemovePlayerWeapon - by bigboy81 - 22.02.2015, 21:57
AW: RemovePlayerWeapon - by Nero_3D - 23.02.2015, 02:47
Re: RemovePlayerWeapon - by Teh0wnz0r - 23.02.2015, 03:12
Re: RemovePlayerWeapon - by NinjahZ - 23.02.2015, 07:48
Re: RemovePlayerWeapon - by Gammix - 23.02.2015, 08:17
Re: RemovePlayerWeapon - by NinjahZ - 23.02.2015, 08:26
Re: RemovePlayerWeapon - by Qu3esL - 23.02.2015, 09:39

Forum Jump:


Users browsing this thread: 1 Guest(s)