Posts: 404
Threads: 124
Joined: Nov 2011
Hi.I make command /sirena and now object is ok all it's ok and now how to make command and delete the siren ? i use AttachObjectToVehicle and now how to put command when you type /trgnisirena to remove the siren ?
Posts: 230
Threads: 95
Joined: Jun 2011
Reputation:
0
Ne sum siguren ama probaj vaka
na pocetok -> new sirena;
posle tamu kaj so ti e AttachObject...
sirena = AttachObject...
i ke naprais
if(strcmp(cmdtext, "/trgnisirena", true) == 0)
{
DeleteObject(sirena);
}
Posts: 404
Threads: 124
Joined: Nov 2011
u da be ne DeleteObject tuku DestroyObject
Posts: 852
Threads: 26
Joined: Jul 2011
Reputation:
0
This is English section. And you can remove the object just how you created it.