[ Request ] Ham_TakeDamage
Hi ! :crab:
Just one problem with this : Code:
Only "WARNING" is good. Hum, just when the player is Ct and he want to kill a Ct in duel but he can kill the terro... |
Re: [ Request ] Ham_TakeDamage
What exactly are you trying to do?
|
Re: [ Request ] Ham_TakeDamage
So,
They are two player in duel. The Ct is : g_tempid and the terro is id Only the two player in duel can kill them And other can't kill this two people. |
Re: [ Request ] Ham_TakeDamage
You are mixing || and && that make result random (not so random).
Put expressions between () so you are sure of the result. |
Re: [ Request ] Ham_TakeDamage
Like that :
|| ( inflictor == attacker ) |
Re: [ Request ] Ham_TakeDamage
Quote:
Like this, for example: PHP Code:
|
Re: [ Request ] Ham_TakeDamage
Following rules apply when you don't put parenthese :
( See http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf ) Code:
• Operator precedence |
| All times are GMT -4. The time now is 15:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.