Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. #include <tf2>
  2. #include <sourcemod>
  3. #include <functions>
  4. #include <sdktools>
  5. #include <sdkhooks>
  6. //#include <morecolors>
  7. #include <tf2_stocks>
  8. #include <tf2items>
  9. #include <tf2attributes>
  10. //#include <keyvalues>
  11. //#include <smlib/entities>
  12. //#include <smlib/strings>
  13. //#include <clientprefs>
  14. //#include <socket>
  15. //#include <sdktools_stringtables>
  16. //#include <tf2wearables>
  17.  
  18.  
  19. String:g_WEPStrings[2048][128];//safer as 128, 64 cannot be safe if there is 52 letters in the compute alphabet just for A-Z and a-z
  20.  
  21. new Function:g_funcEntitySpawn[99];
  22.  
  23. public OnPluginStart()
  24. {
  25. PrintToServer(" ")
  26. PrintToServer("xXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXx")
  27. PrintToServer(" Experimental Plugin is Starting")
  28. PrintToServer("XxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxX")
  29. PrintToServer(" ")
  30. }
  31.  
  32. public OnEntityCreated(int iEntity, const char strClassname[])
  33. {
  34. if (iEntity <= 0 || !IsValidEntity(iEntity)) {
  35. return;
  36. }
  37. PrintToChatAll("entCreated %d - %s", iEntity, strClassname)
  38. strcopy(g_WEPStrings[iEntity], 128, strClassname);
  39. }
  40.  
  41. public defineEntitySpawnFuncs()
  42. {
  43. g_trieEntityNames = CreateTrie()
  44. SetTrieValue(g_trieEntityNames, "tf_projectile_energy_ball", 1, true);
  45. g_funcEntitySpawn[1] = GetFunctionByName( INVALID_HANDLE, "onManglerProjectileSpawn")
  46. }
  47.  
  48. public onManglerProjectileSpawn(iEntity){
  49. //
  50. //mmmh
  51. //
  52. //
  53. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement