mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 11:43:22 +00:00
Add missing bool
This commit is contained in:
parent
c68fac6359
commit
ab25c65fc1
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -88,6 +88,7 @@ stock int L4D_SpawnCommonInfected2(const float vPos[3], const float vAng[3] = {
|
||||||
}
|
}
|
||||||
|
|
||||||
PlayerDetections detections[MAXPLAYERS+1];
|
PlayerDetections detections[MAXPLAYERS+1];
|
||||||
|
bool checkpointReached;
|
||||||
|
|
||||||
GlobalForward fwd_PlayerDoubleKit, fwd_NoHordeBileWaste, fwd_DoorFaceCloser, fwd_CheckpointDoorFaceCloser;
|
GlobalForward fwd_PlayerDoubleKit, fwd_NoHordeBileWaste, fwd_DoorFaceCloser, fwd_CheckpointDoorFaceCloser;
|
||||||
|
|
||||||
|
@ -166,7 +167,6 @@ public void Event_ItemPickup(Event event, const char[] name, bool dontBroadcast)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool checkpointReached;
|
|
||||||
public void EntityOutput_OnStartTouchSaferoom(const char[] output, int caller, int client, float time) {
|
public void EntityOutput_OnStartTouchSaferoom(const char[] output, int caller, int client, float time) {
|
||||||
if(!checkpointReached && client > 0 && client <= MaxClients && GetClientTeam(client) == 2) {
|
if(!checkpointReached && client > 0 && client <= MaxClients && GetClientTeam(client) == 2) {
|
||||||
checkpointReached = true;
|
checkpointReached = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue