Spawned object
#3

Код:
new Float:Spawns[][] =
{
    { 1410.1044,-1305.7026, 9.3780}, // keep going with "," like this example and in the last cord don't write ","
    {x,y,z},

}
Then
Код:
public OnGameModeInit()
{
    new randspawn = random(5);
    CreateDynamicObject(19320, Spawns[randspawn][0], Spawns[randspawn][1], Spawns[randspawn][2], 0, 0, 0, -1, -1, -1, 100.0);
}
This is just an example though to get you the basic idea
Reply


Messages In This Thread
Spawned object - by Jimmi - 29.09.2015, 22:57
AW: Spawned object - by Kaliber - 29.09.2015, 23:20
Re: Spawned object - by Crystallize - 29.09.2015, 23:21

Forum Jump:


Users browsing this thread: 1 Guest(s)