21.06.2011, 21:10
You can't detect the arrow keys with the callback OnPlayerKeyStateChange. You also can't define new keys. To detect arrow keys you should use GetPlayerKeys in OnPlayerUpdate, or a timer.
Example is on the wiki here https://sampwiki.blast.hk/wiki/GetPlayerKeys
Example is on the wiki here https://sampwiki.blast.hk/wiki/GetPlayerKeys