[Include] Dynamic bomb system [Draft]
#4

Quote:
Originally Posted by Niko_boy
Посмотреть сообщение
mm so this is one of usage of that Vecotral Pawn Plugin .. :d
i dont know what it exactly do may be your include help out O;
I started using some days ago and I find it very useful.
What I do here is:
cmap -> store the data of the bomb
cvector -> store all the bomb cmaps
Example:
PHP код:
BombMap cmap();
BombVector cvector();
cmap_insert_float(BombMap"posX"posx)
cmap_insert(BombMap"player"playerid)
cvector_push_back(BombVectorBombMap); 
This way we will have an 'unlimited' array of bombs, each one with its unique information.

It can also be done with static arrays, but I was testing the Vectoral pawn with this.
Reply


Messages In This Thread
Dynamic bomb system [Draft] - by Siralos - 28.08.2012, 08:01
Re: Dynamic bomb system [Draft] - by davelord - 28.08.2012, 08:10
Re: Dynamic bomb system [Draft] - by Niko_boy - 28.08.2012, 08:19
Respuesta: Re: Dynamic bomb system [Draft] - by Siralos - 28.08.2012, 08:26

Forum Jump:


Users browsing this thread: 1 Guest(s)