message_begin(MSG_BROADCAST, SVC_TEMPENTITY) write_byte(TE_SPRITETRAIL) // TE ID write_coord(BubbleOrigin[0]) // Start Position X write_coord(BubbleOrigin[1]) // Start Position Y write_coord(BubbleOrigin[2]) // Start Position Z write_coord(FirstLocation[0]) // End Position X write_coord(FirstLocation[1]) // End Position Y write_coord(FirstLocation[2]) // End Position Z write_short(g_sBubbleSprite) // Sprite Index write_byte(30) // Count write_byte(10) // Life write_byte(1) // Scale write_byte(50) // Velocity Along Vector write_byte(10) // Rendomness of Velocity message_end();
Post by Perfect Scrash on May 24, 2016 16:54:06 GMT
I'm glad you enjoyed my "Zombie Escape Special", despite being incomplete and there is still fix some problems in the mode before i sell.
Use the Latest Zombie Plague Special he has Zombie Escape Supporting (Teleporting First Zombie on Spawn) and you can disable the gamemodes/special class in "zombie_plague_special.ini".
public plugin_precache() { g_sBubbleSprite = precache_model("sprites/blueflare2.spr") precache_sound("warcraft3/blinkarrival.wav") }
public client_putinserver(id) { if(is_user_connected(id)) { g_bFirstOrigin[id] = false } }
public Event_NewRound() { new iPlayers[32], iPlayerCount, i, id get_players(iPlayers, iPlayerCount, "a") for(i = 0; i < iPlayerCount; i++) { id = iPlayers[i] FirstRespawn[id] = false } }
message_begin(MSG_BROADCAST, SVC_TEMPENTITY) write_byte(TE_SPRITETRAIL) // TE ID write_coord(BubbleOrigin[0]) // Start Position X write_coord(BubbleOrigin[1]) // Start Position Y write_coord(BubbleOrigin[2]) // Start Position Z write_coord(FirstLocation[0]) // End Position X write_coord(FirstLocation[1]) // End Position Y write_coord(FirstLocation[2]) // End Position Z write_short(g_sBubbleSprite) // Sprite Index write_byte(30) // Count write_byte(10) // Life write_byte(1) // Scale write_byte(50) // Velocity Along Vector write_byte(10) // Rendomness of Velocity message_end();