Scope for ha problems.
#1

okay i got a scope for my ha so it one shot kills at headshot if you got a scope.

the public its under.
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
this code crashes my pwn and doesn't compile.
Код:
{
	if(newkeys & KEY_FIRE && newkeys & KEY_HANDBRAKE)
	{
	    if(GetPlayerWeapon(playerid) == 34 && PlayerInfo[playerid][pScope] == 1 && PlayerInfo[playerid][pMember] == 8 && ScopeEnabled == 1)
 		{
     		new Float:blahx, Float:blahy, Float:blahz;
			HeadshotCheck(playerid, blahx, blahy, blahz);
		}
 	}
 	return 1;
}
HOW CAN I FIX?
Reply
#2

If you comment out/remove HeadshotCheck() does the compiler still crash?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)