Code:
new sprite
new userorigin[33]
new time
public plugin_precache(){
sprite=precache_model("sprites/whatever.spr")
return PLUGIN_CONTINUE
}
// You'll probably have to make a set_task somewhere for this thing... and where you put that down, slam down this: time = get_systime(0)
public displaysprite(id){
get_user_origin(id,userorigin[id],0)
if(time == time+n) { // Where n = your number...
message_begin(MSG_ALL,SVC_TEMPENTITY)
write_byte(17)
write_coord(userorigin[id])
write_coord(userorigin[id])
write_coord(userorigin[id])
write_short(0)
write_byte(YourScaleHere) // (in 0.1s!)
write_byte(brightnessofthesprite)
message_end()
} else {
message_begin(MSG_ALL,SVC_TEMPENTITY)
write_byte(17)
write_coord(userorigin[id])
write_coord(userorigin[id])
write_coord(userorigin[id])
write_short(whatever.spr)
write_byte(YourScaleHere)
write_byte(brightnessofthesprite)
message_end()
}
}
I also kinda doubt that you want it to make it userorigin[id].
I am pretty damn sure you want it to be userorigin[0] and then [1] and then [2] but... then again... I am the noob.
I didn't try this, so feel free to edit it. Consider it a rough draft