30.11.2011, 21:28
Hey, does anyone know how to script random fires on houses, or buildings? Also is it even possible?
#define MAX_FIRES 2
new Float:FireLocations[MAX_FIRES][3]=
{
{0,0,0},
{0,0,0}
}
public Function()
{
new fire=random(MAX_FIRES);
CreateObject(fire_model,FireLocations[fire][0],FireLocations[fire][1],FireLocations[fire][2],...);
}
new Float:FireLocations[MAX_FIRES][3]= // Possibly here, not sure...
{
{0,0,0}, // They would go here if I am not mistaken
{0,0,0} // And here!
}