Lua Help - Inf Lives (Or giving player 99 lives on death)

Status
Not open for further replies.

MikeTheDigiFloof

Creator of Online+
i'm always having trouble and i'm very new to lua, but every time i try to put in the script, it wont run, here is what i was putting

Code:
local function inflives
    CONS_Printf(p, "Player has died")
	P_GivePlayerLives(player_t player, 99)
end

addHook("PlayerSpawn", function(p)inflives(p))

Edit: Never mind, i got it working now
 
Last edited:
Status
Not open for further replies.

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top