Posts: 110
Threads: 17
Joined: Mar 2016
How to callback the function OnPlayerKeyStateChange for 'playerid' ?
Thanks.
Posts: 110
Threads: 17
Joined: Mar 2016
error 017: undefined symbol "newkeys"
Код:
forward ewsnow(playerid);
public ewsnow(playerid){
CallRemoteFunction("OnPlayerKeyStateChange", "ifff", playerid, newkeys, oldkeys);
return 1;
}
Posts: 791
Threads: 113
Joined: Aug 2008
Reputation:
0
The keys pressed is introduced to the server by the client, hence this would mean that you set the active key for the client which I believe is impossible.
I'm not sure though.