equal
deleted
inserted
replaced
205 WriteLnToConsole('LUA: Wrong number of parameters passed to AddTeam!'); |
205 WriteLnToConsole('LUA: Wrong number of parameters passed to AddTeam!'); |
206 //lua_pushnil(L) |
206 //lua_pushnil(L) |
207 end |
207 end |
208 else |
208 else |
209 begin |
209 begin |
210 ParseCommand('addteam ' + lua_tostring(L, 2) + ' ' + lua_tostring(L, 1), true); |
210 ParseCommand('addteam x ' + lua_tostring(L, 2) + ' ' + lua_tostring(L, 1), true); |
211 ParseCommand('grave ' + lua_tostring(L, 3), true); |
211 ParseCommand('grave ' + lua_tostring(L, 3), true); |
212 ParseCommand('fort ' + lua_tostring(L, 4), true); |
212 ParseCommand('fort ' + lua_tostring(L, 4), true); |
213 ParseCommand('voicepack ' + lua_tostring(L, 5), true); |
213 ParseCommand('voicepack ' + lua_tostring(L, 5), true); |
214 CurrentTeam^.Binds:= DefaultBinds; |
214 CurrentTeam^.Binds:= DefaultBinds; |
215 // fails on x64 |
215 // fails on x64 |