Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
[Mario Fireball Swep] lua/weapons/weapon_real_fireball/shared.lua:102: attempt to call field 'Create' (a nil value)
1. unknown - lua/weapons/weapon_real_fireball/shared.lua:102
[Mario Fireball Swep] lua/includes/extensions/entity.lua:192: attempt to index local 'col' (a number value)
1. SetColor - lua/includes/extensions/entity.lua:192
2. unknown - lua/entities/sent_fireball/init.lua:36
3. Spawn - [C]:-1
4. unknown - lua/weapons/weapon_real_fireball/shared.lua:109
1. SetColor - lua/includes/extensions/entity.lua:192
2. unknown - lua/entities/sent_fireball/init.lua:36
3. Spawn - [C]:-1
4. unknown - lua/weapons/weapon_real_fireball/shared.lua:109
1. SetColor - lua/includes/extensions/entity.lua:192
2. unknown - lua/entities/sent_fireball/init.lua:36
3. Spawn - [C]:-1
4. unknown - lua/weapons/weapon_real_fireball/shared.lua:109
1. SetColor - lua/includes/extensions/entity.lua:192
2. unknown - lua/entities/sent_fireball/init.lua:36
3. Spawn - [C]:-1
4. unknown - lua/weapons/weapon_real_fireball/shared.lua:109
1. SetColor - lua/includes/extensions/entity.lua:192
2. unknown - lua/entities/sent_fireball/init.lua:36
3. Spawn - [C]:-1
4. unknown - lua/weapons/weapon_real_fireball/shared.lua:109
#SWAG
1. unknown - addons/mario_fireball_swep_147668076/lua/weapons/weapon_real_fireball/shared.lua:102
This error also shows up, and it's pointing to this line in the file:
local shot = ents.Create("sent_fireball")
if (IsValid(shot)) then
//shot:SetModel( "models/dav0r/hoverball.mdl" )
//shot:SetParent(rocket)
shot:SetPos(shoot_pos)
shot:SetAngles(shoot_angle:Angle())
shot:Activate()
shot:Spawn()
end
self.Weapon:SendWeaponAnim( ACT_VM_PRIMARYATTACK )
What's wrong with this?
Your .lua file points to a nonexistent sound file directory with a nonexistent sound ("fireball.mp3" "powerup.wav"). I've decompiled your pack and noticed that there are no sound files in them hence why people don't have any sounds in the add-on but you have demonstrated in your video.
You should add a sound folder in your add-on, add the appropriate sounds in them as the .lua file says, and recompile and reupdate this pack.