Copy this code and past it in the end of the .sma file:
public zp_exp(id)
{ // Get user's origin static origin[3] get_user_origin(id, origin)
message_begin(MSG_PVS, SVC_TEMPENTITY, origin) write_byte(TE_SPRITETRAIL) // TE ID write_coord(origin[0]) // x write_coord(origin[1]) // y write_coord(origin[2] +40) // z write_coord(origin[0]) // x write_coord(origin[1]) // y write_coord(origin[2]) // z write_short(g_zm_exp)// Sprite Index write_byte(25) // Count write_byte(10) // Life write_byte(5) // Scale write_byte(50) // Velocity Along Vector write_byte(10) // Rendomness of Velocity message_end() }
Now u done . Same is done with other zp versions , you just need the correct SMA file to do it.
i have bonus box but i want when zombie take it show sprite like this but 10:15 big green balls and when human take it show 10:15 big red balls please show me code if you want