Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <tf2>
- #include <sourcemod>
- #include <functions>
- #include <sdktools>
- #include <sdkhooks>
- //#include <morecolors>
- #include <tf2_stocks>
- #include <tf2items>
- #include <tf2attributes>
- //#include <keyvalues>
- //#include <smlib/entities>
- //#include <smlib/strings>
- //#include <clientprefs>
- //#include <socket>
- //#include <sdktools_stringtables>
- //#include <tf2wearables>
- 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
- new Function:g_funcEntitySpawn[99];
- public OnPluginStart()
- {
- PrintToServer(" ")
- PrintToServer("xXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXx")
- PrintToServer(" Experimental Plugin is Starting")
- PrintToServer("XxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxX")
- PrintToServer(" ")
- }
- public OnEntityCreated(int iEntity, const char strClassname[])
- {
- if (iEntity <= 0 || !IsValidEntity(iEntity)) {
- return;
- }
- PrintToChatAll("entCreated %d - %s", iEntity, strClassname)
- strcopy(g_WEPStrings[iEntity], 128, strClassname);
- }
- public defineEntitySpawnFuncs()
- {
- g_trieEntityNames = CreateTrie()
- SetTrieValue(g_trieEntityNames, "tf_projectile_energy_ball", 1, true);
- g_funcEntitySpawn[1] = GetFunctionByName( INVALID_HANDLE, "onManglerProjectileSpawn")
- }
- public onManglerProjectileSpawn(iEntity){
- //
- //mmmh
- //
- //
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement