Spaces:
Build error
Build error
Update .sp
Browse files
.sp
CHANGED
|
@@ -48,6 +48,7 @@ public void OnPluginStart()
|
|
| 48 |
|
| 49 |
OnClientPutInServer(iClient);
|
| 50 |
}
|
|
|
|
| 51 |
|
| 52 |
}
|
| 53 |
|
|
@@ -162,6 +163,14 @@ stock int GetWeaponSlot(int client, int rweapon){
|
|
| 162 |
return -1;
|
| 163 |
}
|
| 164 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 165 |
/*
|
| 166 |
public Action OnPlayerRunCmd(int client, int& buttons, int& impulse, float vel[3], float angles[3], int& weapon, int& subtype, int& cmdnum, int& tickcount, int& seed, int mouse[2])
|
| 167 |
{
|
|
|
|
| 48 |
|
| 49 |
OnClientPutInServer(iClient);
|
| 50 |
}
|
| 51 |
+
//HookEvent("player_death", Event_PlayerDeath);
|
| 52 |
|
| 53 |
}
|
| 54 |
|
|
|
|
| 163 |
return -1;
|
| 164 |
}
|
| 165 |
|
| 166 |
+
/*
|
| 167 |
+
public Action Event_PlayerDeath(Event event, const char[] name, bool dontBroadcast)
|
| 168 |
+
{
|
| 169 |
+
int Userid = GetClientOfUserId(event.GetInt("userid")); // user ID who died
|
| 170 |
+
TeammatedHealed[Userid] = 0;
|
| 171 |
+
}
|
| 172 |
+
*/
|
| 173 |
+
|
| 174 |
/*
|
| 175 |
public Action OnPlayerRunCmd(int client, int& buttons, int& impulse, float vel[3], float angles[3], int& weapon, int& subtype, int& cmdnum, int& tickcount, int& seed, int mouse[2])
|
| 176 |
{
|