destroy object
#1

Ok i got most of the code but i dont no how to to put it to gether could you give me a hand thanks.

What the plan is to do is that the minigun is placed then destroyed after say 20 seconds. but they can only place it if they have had a killing strak of 10.


Код:
if (strcmp("/createminigun", cmdtext, true, 14) == 0)
	{
	new Float:createx, Float:createy, Float:createz, Float:Rotation;
	GetPlayerPos(playerid,createx,createy,createz);
	GetPlayerFacingAngle(playerid,Rotation);
	SaveMinigunDataToLog(CreateMinigun(createx,createy,createz -1,Rotation,10,4,true),"blub");
     return 1
;
Код:
DestroyMinigun(minigunid)
Код:
if(spree[killerid] == 10) {
Thankyou for reading and hope you can help.
Reply


Messages In This Thread
destroy object - by 02manchestera - 28.03.2010, 12:54
Re: destroy object - by [LSR]State_Trooper - 28.03.2010, 12:57
Re: destroy object - by 02manchestera - 28.03.2010, 12:59
Re: destroy object - by 02manchestera - 28.03.2010, 13:05
Re: destroy object - by [LSR]State_Trooper - 28.03.2010, 13:08
Re: destroy object - by [LSR]State_Trooper - 28.03.2010, 13:14
Re: destroy object - by 02manchestera - 28.03.2010, 13:26
Re: destroy object - by [LSR]State_Trooper - 28.03.2010, 13:31

Forum Jump:


Users browsing this thread: 3 Guest(s)