Destroying object
#6

Quote:
Originally Posted by codExpert
View Post
why you repate same useless code so many times, build framwork for this system, at the moment this is useless garbage where you waste time adding something new.
Repeat useless code many times? Where?

@Kaliber:

pawn Code:
new CrateObject;
pawn Code:
new Float:g_CrateSpawns[][3] =
{
    {821.9344,-1868.2295,6.7148}
    {1281.3082,-2000.0718,58.2978},
    {1800.3622,-2180.2473,13.5547},
    {1647.9771,-2102.3044,13.5547}
};
In a timer (crate randomly spawns every 5 mins):

pawn Code:
CrateObject = CreateDynamicObject(CRATE_MODEL_ID, g_CrateSpawns[rand][0], g_CrateSpawns[rand][1], g_CrateSpawns[rand][2]-0.4, -1, -1, -1);
Reply


Messages In This Thread
Destroying object - by SymonClash - 23.01.2019, 19:16
Re: Destroying object - by Kane - 24.01.2019, 07:23
Re: Destroying object - by SymonClash - 24.01.2019, 09:40
Re: Destroying object - by Kaliber - 24.01.2019, 11:02
Re: Destroying object - by codExpert - 24.01.2019, 12:28
Re: Destroying object - by SymonClash - 24.01.2019, 13:03
Re: Destroying object - by Kaliber - 24.01.2019, 13:09
Re: Destroying object - by SymonClash - 24.01.2019, 13:11
Re: Destroying object - by Kasichok - 24.01.2019, 13:14
Re: Destroying object - by Kaliber - 24.01.2019, 13:35

Forum Jump:


Users browsing this thread: 1 Guest(s)