17.11.2016, 08:05
(
Последний раз редактировалось amirm3hdi; 17.11.2016 в 11:39.
)
Quote:
What does getWeaponClasses() returns(an object, array, etc) and looks like? Also what is the dialog supossed to do, because your code looks strange.
|
PHP код:
function getWeaponClasses() {
return [
[
name => "Assault",
weapons => [[WEAPON_M4, 150], [WEAPON_UZI, 400], [WEAPON_GRENADE, 2]]
]
];
}
But I think this is the right way to add rows, if not, can u provide an example?