Test for me please
#1

Hey because I have problems with port forwarding and I can't open server so I could test with my friend I need to post topics like this.. (if someone know how to fix "Out of LAN side network address range" error at forwarding, feel free to PM me I'm using Buffalo router..)

So if player will be shot with weaponid 23, player won't be able to move...?
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(issuerid != INVALID_PLAYER_ID && weaponid == 23 && IsPlayerCop(playerid))
    {
        TogglePlayerControllable(playerid, 0);
    }
    return 1;
}
Reply
#2

IsPlayerCop should be used on issuerid. I'm assuming you're trying to create a taser.

Also, you can use Hamachi for testing without port forwarding.
Reply
#3

Thank you, I might try Hamachi also
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)