Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md: Note about impulse 255 command #714

Merged
merged 1 commit into from
Jan 8, 2022
Merged

README.md: Note about impulse 255 command #714

merged 1 commit into from
Jan 8, 2022

Conversation

UnkwUsr
Copy link
Contributor

@UnkwUsr UnkwUsr commented Jan 5, 2022

About this:

case 255:
{
// Give weapons
for (int wpnid = WEAPON_NONE + 1; wpnid < MAX_WEAPONS; wpnid++)
{
// unwanted candidates
if (wpnid == WEAPON_GLOCK
|| wpnid == WEAPON_C4
|| wpnid == WEAPON_KNIFE)
continue;
// If by some case the weapon got invalid
const auto pInfo = GetWeaponInfo(wpnid);
if (pInfo) {
GiveNamedItemEx(pInfo->entityName);
GiveAmmo(pInfo->maxRounds, pInfo->ammoName2);
}
}

@Vaqtincha
Copy link
Contributor

Even such a harmless change will not be accepted "without tests" 🤣

@wopox1337 wopox1337 self-requested a review January 8, 2022 11:15
@wopox1337 wopox1337 merged commit a54abba into s1lentq:master Jan 8, 2022
@Vaqtincha
Copy link
Contributor

Типа "смотрите я оперативный" 😀

@UnkwUsr UnkwUsr deleted the patch-1 branch January 9, 2022 19:38
@UnkwUsr UnkwUsr restored the patch-1 branch January 9, 2022 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants