20.10.2013, 13:16
pawn Код:
enum Objects_enum
{
modelid,
Float: X,
Float: Y,
Float: Z,
Float: rX,
Float: rY,
Float: rZ
};
new Objects[][Objects_enum] =
{
{4242,859.2998000,-4622.3994100,0.1000000,0.0000000,0.0000000,0.0000000}, //object(sbsbed5law2) (2)
{4242,859.2998000,-4622.3994100,-8.7000000,0.0000000,0.0000000,0.0000000}, //object(sbsbed5law2) (3)
{4242,659.6992200,-4622.3994100,-8.7000000,0.0000000,0.0000000,0.0000000}, //object(sbsbed5law2) (4)
{4242,659.7000100,-4370.8999000,-8.7000000,0.0000000,0.0000000,0.0000000}, //object(sbsbed5law2) (5)
{4242,859.2998000,-4370.8994100,-8.7000000,0.0000000,0.0000000,0.0000000} //object(sbsbed5law2) (6)
};
// OnGameModeInit/OnFilterScriptInit
for(new i; i != sizeof(Objects); i++) CreateObject(Objects[i][modelid], Objects[i][X], Objects[i][Y], Objects[i][Z], Objects[i][rX], Objects[i][rY], Objects[i][rZ]);