Small /tazer bug +rep
#1

Code:
Quote:

if(newkeys & KEY_FIRE)
{
new string[128], giveplayerid;
if(GotTazer[playerid] == 1 && arrFaction[playerid][p_iMember] > 0)
{
if(IsPlayerConnected(giveplayerid))
{
if(ProxDetectorS(3.0, playerid,giveplayerid))
{
if(giveplayerid == playerid)
{
SendClientMessage(playerid, COLOR_WHITE, "You cannot stun yourself, you must get closer to your victim!");
}
TogglePlayerControllable(giveplayerid, 0);
format(string, sizeof(string), "*%s stuns %s with the tazer.", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
return 1;
}
}
}
}

Whenever I go up to a player and do it, it just freezes me and says I have froze myself, any help on this?
Reply


Messages In This Thread
Small /tazer bug +rep - by RLGaming - 08.10.2012, 16:54
Re : Small /tazer bug +rep - by lelemaster - 08.10.2012, 17:24
Re: Small /tazer bug +rep - by RLGaming - 08.10.2012, 17:36
Re: Small /tazer bug +rep - by Riddick94 - 08.10.2012, 17:40
Re: Small /tazer bug +rep - by Skillet` - 08.10.2012, 17:44
Re : Re: Small /tazer bug +rep - by lelemaster - 08.10.2012, 17:53
Re: Re : Re: Small /tazer bug +rep - by Skillet` - 08.10.2012, 17:58
Re : Re: Re : Re: Small /tazer bug +rep - by lelemaster - 08.10.2012, 18:16
Re: Re : Re: Re : Re: Small /tazer bug +rep - by Skillet` - 08.10.2012, 22:20

Forum Jump:


Users browsing this thread: 2 Guest(s)