Is this possible ?
#1

Well OnPlayerStateChange i have

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
Is it possible to do something like this

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate, newkeys, oldkeys)
Because in on of the things in there i have newkeys and it says undefined symbol

Please Help

Help Is Appreciated
Reply
#2

its not unless u use GetPlayerKeys
Reply
#3

I am afraid but you'll have to rely on using this OnPlayerKeyStateChange, unless of course you check for the keys with GetPlayerKeys and make the parameters yourself.
Reply
#4

Quote:
Originally Posted by Geniuss
Посмотреть сообщение
Well OnPlayerStateChange i have

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
Is it possible to do something like this

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate, newkeys, oldkeys)
Because in on of the things in there i have newkeys and it says undefined symbol

Please Help

Help Is Appreciated
You can either use "GetPlayerKeys" on OnPlayerStateChange or either use "GetPlayerState" on OnPlayerKeyStateChange.

-FalconX
Reply
#5

Small note
OnplayerKeyStateChange doest get called on up & down
Reply
#6

Yes, it's possible. But isn't so simple
Reply
#7

What is the key for the bottom left ctrl key

Thank You

Help Is Appreciated
Reply
#8

Quote:
Originally Posted by Geniuss
Посмотреть сообщение
What is the key for the bottom left ctrl key

Thank You

Help Is Appreciated
KEY_FIRE

_FalconX
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)