Posts: 1,498
Threads: 110
Joined: Aug 2013
22.12.2015, 15:45
(
Последний раз редактировалось Crystallize; 29.12.2015 в 16:05.
)
fixed.
Posts: 1,498
Threads: 110
Joined: Aug 2013
Quote:
Originally Posted by patrickgtr
It is possible to do so, you can use CreatePlayerObject and a player variable.
|
Like GetPlayerPos then create a new;float , then CreateObject however the problem is how to destroy it.
Thanks for the reply.
Posts: 1,266
Threads: 6
Joined: Oct 2014
PHP код:
new PlayerObject[howmuchisyourobjects][MAX_PLAYERS];
then later on your command:
PHP код:
PlayerObject[0][playerid] = Createdynamicobject;
later
Код:
DestroyDynamicObject(PlayerObject[0][playerid]);
Posts: 1,498
Threads: 110
Joined: Aug 2013
Quote:
Originally Posted by jlalt
PHP код:
new PlayerObject[howmuchisyourobjects][MAX_PLAYERS];
then later on your command:
PHP код:
PlayerObject[0][playerid] = Createdynamicobject;
later
Код:
DestroyDynamicObject(PlayerObject[0][playerid]);
|
will try , thank you!