Quote:
|
Only solution here is physically storing how many spawns are on each map then you can work it out in precache. As you said you know de_train has 22 spawns so thats 11 CT and 11 T, just means storing all this info in your script I'm afraid.
|
spawn= 24 ,it is my misstake when the post. haha
Quote:
Why do you need to do that?
whitout use plugin_precache()
|
I make a plugin use add ent and set origin and more player can join in, it work fine.
But must setup howmany (t ot ct) need to be add in plugin_precache().
Quote:
There is a more hacky way:
create 32 spawn points (precache)
store misc data in iuser4 (still precache)
plugin_init check total amount of spawns
then start removing ones you added since they have a unique key (iuser4)
|
good ideas , i know how to do now, thanks a lot.