mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-07 09:43:20 +00:00
Improve logic
This commit is contained in:
parent
6f96e6970b
commit
528ce00da8
2 changed files with 3 additions and 1 deletions
Binary file not shown.
|
@ -462,7 +462,9 @@ public Action Command_SetClientModel(int client, int args) {
|
||||||
int survivorId;
|
int survivorId;
|
||||||
L4DModelId modelId;
|
L4DModelId modelId;
|
||||||
|
|
||||||
bool isL4D1 = isL4D1Survivors && hForceSurvivorSet != null && hForceSurvivorSet.IntValue < 2;
|
|
||||||
|
bool isL4D1 = isL4D1Survivors;
|
||||||
|
if(hForceSurvivorSet != null && hForceSurvivorSet.IntValue > 0) isL4D1 = hForceSurvivorSet.IntValue == 1;
|
||||||
|
|
||||||
char s = CharToLower(arg1[0]);
|
char s = CharToLower(arg1[0]);
|
||||||
if(s == 'b') {
|
if(s == 'b') {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue