Browse Source

spawnfix

master
gsd 2 years ago
parent
commit
3106891ad7
  1. 3
      niggersmodels.sp

3
niggersmodels.sp

@ -22,6 +22,7 @@ public void OnMapStart() {
public void OnPluginStart() { public void OnPluginStart() {
HookEvent("player_spawn", Event_SpawnNigger, EventHookMode_Post); HookEvent("player_spawn", Event_SpawnNigger, EventHookMode_Post);
HookEvent("player_changeclass", Event_SpawnNigger, EventHookMode_Post);
} }
public void AddFemPyroToDownload(bool:logging){ public void AddFemPyroToDownload(bool:logging){
@ -155,7 +156,7 @@ public Action:Event_SpawnNigger(Handle:event, const String:name[], bool:dontBroa
if(g_SetupNigger[client]) return; if(g_SetupNigger[client]) return;
//таймер нужен иначе нихуя не будет //таймер нужен иначе нихуя не будет
g_SetupNigger[client] = true; g_SetupNigger[client] = true;
CreateTimer(0.1, EquipNiggerSkin, client); CreateTimer(0.5, EquipNiggerSkin, client);
} }
stock GetNiggerModelPath(TFClassType:class, String:name[], maxlen) stock GetNiggerModelPath(TFClassType:class, String:name[], maxlen)

Loading…
Cancel
Save