16.05.2013, 08:07
pawn Код:
enum Horses
{
Float:hx,
Float:hy,
Float:hz,
order
}
new hcord[][Horses] =
{
{2323.7659,1283.2438,97.5738,1},
{1432.0463,2751.2932,19.5234,2},
{-144.1049,1231.6788,26.2031,3},
{-688.2123,938.3978,13.6328,4},
{-1531.5845,687.4770,133.0514,5}
};
//OnFilterScriptInit
horse[0] = CreatePickup(954, 1, 2011.8767,1544.7483,9.4787, 0);
for(new x = 0; x < sizeof(hcord); x++)
{
horse[hcord[x][order]] = CreatePickup(954, 1, hcord[x][hx], hcord[x][hy], hcord[x][hy], 0);
}
The pickup 0 is exceptional because as you can see i code that manually.