Closed Tolokio closed 1 year ago
This check never get fired, we could remove it cos it is not needed anyway. This is what happening if u try to create a new character
And it denys character's creation.
epictestadore is not the character i was trying to create.
f_onchar_create_init doesn't work because the 2nd parameter is null, it should be pChar or &gServ. When you do serv.log it tries to call the command on the 2nd parameter, but because there are no object nothing is displayed (it actually trhrows a warning)
&g_Serv is probably better choice here, while pChar is initialized after this function triggered.
as title said. It dosnt work.
f_onchar_create does work
I think it dosnt work cos it is called from Client and client is always 0 on any serv_trigger