Weird bugs
#1



What is this? When ever someone dies, they get this screen. It bugs them out that they have to restart their client. If you tp to the person, you also get bugged out and my bodypart doesnt work.


Код HTML:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
	if(issuerid != INVALID_PLAYER_ID && weaponid == 23 || weaponid == 24 || weaponid == 33 || weaponid == 22 || weaponid == 34 && bodypart == 7 || bodypart == 8)
	{
		SCM(playerid, COLOR_LIGHTRED, "DEBUG: LEGS.");
	}
    return true;
}

Anyways, if the player take damage on their head or something, the leg is still get damaged
Reply
#2

bump
Reply
#3

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
    if(issuerid != INVALID_PLAYER_ID && weaponid == 23 || weaponid == 24 || weaponid == 33 || weaponid == 22 || weaponid == 34 && bodypart == 7 || bodypart == 8)
    {
        SCM(playerid, COLOR_LIGHTRED, "DEBUG: LEGS.");
    }
    return 1;
}
try this one
Reply
#4

Quote:
Originally Posted by Eth
Посмотреть сообщение
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
    if(issuerid != INVALID_PLAYER_ID && weaponid == 23 || weaponid == 24 || weaponid == 33 || weaponid == 22 || weaponid == 34 && bodypart == 7 || bodypart == 8)
    {
        SCM(playerid, COLOR_LIGHTRED, "DEBUG: LEGS.");
    }
    return 1;
}
try this one
Where is different? return 1 = true.
Reply
#5

just try it if it didn't work tell me
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)