Now I know i'm going to regret posting this because I will feel so stupid but for the life of me I can't find this error!
[CODE][ERROR] gamemodes/sandbox/gamemode/init.lua:193: ')' expected (to close '(' at l
ine 192) near 'ent'
1. unknown - gamemodes/sandbox/gamemode/init.lua:0[/CODE]
Here is my code that i'm working on:
[CODE]hook.Add( 'ShowTeam', 'SpawnOurEnt', function( ply )
local ent = ents.Create( 'npc' )
ent:SetPos( Vector()
ent:Spawn()
end )[/CODE]
ent:SetPos( Vector() is missing a ) - And maybe a few numbers for the vector.
[QUOTE=Acecool;46270602]ent:SetPos( Vector() is missing a ) - And maybe a few numbers for the vector.[/QUOTE]
Yeah I left the numbers out while changing it. And it worked! Thank you!
Sorry, you need to Log In to post a reply to this thread.