tazer help
#1

Hello.

At now if i type /tazer i get silent pistol and if i shoot anyone then it just damage people not taze, but if i hit people with my hand then it taze

COde:

Код:
COMMAND:tazer(playerid, params[])
{
	new string[128];
	if(PlayerLoggedIn[playerid] == true)
	{
		if(KasutajaInfo[playerid][Grupeering] == 1 || KasutajaInfo[playerid][Grupeering] == 9)
		{
			if(Tazer[playerid] == 0)
			{
				Tazer[playerid] = 1;
				GivePlayerWeapon(playerid, 23, 65500);
				format(string, sizeof(string), "* %s vхtab vццlt vдlja tazeri",RPN(playerid));
				SendEmotion(playerid, string);
			}
			else if(Tazer[playerid] == 1)
			{
				Tazer[playerid] = 0;
				SetPlayerAmmo(playerid, 23, 0);
				format(string, sizeof(string), "* %s paneb tazeri vццle tagasi",RPN(playerid));
				SendEmotion(playerid, string);
			}
		}
		else KasutusText(playerid, "~r~VIGA: ~b~Sul ei ole tazerit");
	}
	else KasutusText(playerid, "~r~VIGA: ~b~Sa ei ole veel sisse loginud");
	return 1;
}
Reply


Messages In This Thread
tazer help - by b00m112 - 19.01.2015, 17:48
Re: tazer help - by ChromeAmazing - 19.01.2015, 17:50
Re: tazer help - by zT KiNgKoNg - 19.01.2015, 17:55
Re: tazer help - by b00m112 - 19.01.2015, 18:13
Re: tazer help - by b00m112 - 19.01.2015, 19:55
Re: tazer help - by b00m112 - 20.01.2015, 19:29
Re: tazer help - by Trevor Gin - 20.01.2015, 20:45
Re: tazer help - by b00m112 - 21.01.2015, 12:04
Re: tazer help - by b00m112 - 21.01.2015, 14:17

Forum Jump:


Users browsing this thread: 1 Guest(s)