19.12.2010, 12:45
(
Last edited by blackwave; 19/12/2010 at 12:47 PM.
Reason: x
)
Would that really disable? cause it means: if is the player passager or on vehicle, set his weapon for 0. Wouldn't it bug? this is like a weapon ID, but depends vehicle. Would be better use a SetPVar for the player which attacks someone else, or even if attack this person with the weapon ID: 49.
EDIT:
@Mestrekiller: you could add to his condition just these weapons ID's you want to disable also.
Like:
EDIT:
@Mestrekiller: you could add to his condition just these weapons ID's you want to disable also.
Like:
pawn Code:
if(newstate == PLAYER_STATE_DRIVER && GetPlayerArmedWeapon(playerid) == ID) return (...)

