Thread
:
very stupid question
View Single Post
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
10-23-2017 , 11:43 Re: very stupid question
#
5
This checks whether the cvar is 1 or 0,
1 on true statement, 0 on false.
If you want to block the deathmatch cvar just delete the if statement, respawn_player_task func. and the cvarS.
Using const integers you can't change the value of it, since const is used & in this case it will be always deathmatch.
For multiple mods you can use
if (get_pcvar_num(cvar_deathmatch) ==1 / 2 / 3 ...)
depending on the amount of gameplays you want to add.
__________________
[Bash] Autoupdate the AMXX to the latest version [1.9 / 1.10]
[Python] Send Rcon commands from Discord
Last edited by Relaxing; 10-23-2017 at
11:47
.
Relaxing
View Public Profile
Send a private message to Relaxing
Visit Relaxing's homepage!
Find More Posts by Relaxing