attempt to index a nil value ESX code example Example 1: esx global error ESX.RegisterServerCallback Example 2: esx global error ESX.RegisterServerCallback