Quote:
Originally Posted by Napoleon_be
PHP Code:
RegisterHam(Ham_Spawn, "player", "fwd_spawn", 1)
PHP Code:
public fwd_spawn(id) {
set_user_godmode(id)
}
Add this into your code, and it should work.
|
set_user_godmode( id )
should be
set_user_godmode( id, 1 );
Your way will disable godmode. You need to set the flag to 1 so that it sets it to enabled. The second parameter defaults to disabled, so just leaving it blank will turn off godmode.
__________________