17.11.2013, 19:09
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...?
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;
}