11.09.2012, 23:43
Hello
i'm trying to script a RP gamemode, but sometimes after make the first spawn my char dies by reason 255 and the calback OnPlayerStateChange is caled by new state = 7
Look the callbacks backtrace:
does anyone know why is it happening?
i'm trying to script a RP gamemode, but sometimes after make the first spawn my char dies by reason 255 and the calback OnPlayerStateChange is caled by new state = 7
Look the callbacks backtrace:
PHP код:
[11/09/12 19:56:31] OnPlayerConnect // When I connect
[11/09/12 19:56:31] connections => Bot_Bsli conectou no servidor. (id: 0 - IP: 127.0.0.1)
[11/09/12 19:56:35] OnPlayerRequestClass // Some seconds after connection
[11/09/12 19:56:45] OnDialogResponse //After put my password on dialog login
[11/09/12 19:56:47] OnPlayerStateChange(0, 8, 0) // A spawn in progress
[11/09/12 19:56:47] OnPlayerSpawn // the callback spawning me
[11/09/12 19:56:47] OnPlayerStateChange(0, 7, 8) // Here is where everything goes to a weird way
[11/09/12 19:56:47] OnPlayerDeath(0, 65535, 255) // Weird die by a weird reason
[11/09/12 19:56:47] [death] Bot_Bsli died 255
[11/09/12 19:56:53] OnPlayerStateChange(0, 8, 7)
[11/09/12 19:56:53] OnPlayerSpawn // now everything go alright and I got a nice spawn