Posts: 2,200
Threads: 14
Joined: Apr 2009
Reputation:
0
Just tested it and it really doesn't work
Posts: 654
Threads: 20
Joined: Jul 2009
Reputation:
0
How about showing the full code you guys used to test it?
Posts: 18
Threads: 0
Joined: Mar 2010
Reputation:
0
Could it be that that state is similar to the enter/exit vehicle states (They are only used internally, and never get returned in things like GetPlayerState)?
Posts: 181
Threads: 10
Joined: Oct 2007
Reputation:
0
When you die or select class, callback OnPlayerUpdate doesn't calling.
Posts: 83
Threads: 12
Joined: Apr 2008
Reputation:
0
"PLAYER_STATE_WASTED" is only after F4 /kill. First class selection after connect is "PLAYER_STATE_NONE".
Posts: 2,200
Threads: 14
Joined: Apr 2009
Reputation:
0
Well, It didn't get called when I was randomly going through skins on skin selection, it didn't get called when I spawned (OnPlayerRequestSpawn) and it didn't get called when I killed myself via SetPlayerHealth(playerid, 0.0)