14/12/2022 02:31
public OnPlayerUpdate(playerid)
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
{
SetPlayerArmedWeapon(playerid,0);
}
return 1;
}
https://sampwiki.blast.hk/wiki/SetPlayerArmedWeapon
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
{
SetPlayerArmedWeapon(playerid,0);
}
return 1;
}
https://sampwiki.blast.hk/wiki/SetPlayerArmedWeapon