11.09.2013, 18:19
pawn Код:
new weapid = 1;
public OnFilterScriptInit()
{
while(weapid <= 2)
{
WeaponObjects[weapid] = CreateObject(WeaponData[weapid][WEAPON_MODEL], WeaponData[weapid][WEAPON_X], WeaponData[weapid][WEAPON_Y], WeaponData[weapid][WEAPON_Z], WeaponData[weapid][WEAPON_RX], WeaponData[weapid][WEAPON_RY], WeaponData[weapid][WEAPON_RZ], 300.0);
printf("ID: %d | ID2: %d", WeaponObjects[weapid], weapid);
weapid += 1;
}
return true;
}