09.03.2014, 12:40
If bug, ask me
public OnPlayerEnterVehicle(playerid, ispassenger) {
SetPlayerArmedWeapon(playerid, 0);
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER) SetPlayerArmedWeapon(playerid, 0);
return 1;
}
SetPlayerHealth(playerid, Health + 100); // playerid health will +100 /1 shoot
I have a feeling that it isn't correct
pawn Code:
|