11.10.2015, 11:31
(
Последний раз редактировалось jlalt; 11.10.2015 в 15:35.
)
make the result / response of the command and key on function example :
PHP код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) {
if(newkeys & KEY_ACTION){
hiall();
return 1;
}
return 1;
}
CMD:hiall(playerid,params[]) {
hiall();
#pragma unused params
return 1;
}
hiall() {
SendClientMessageToAll(-1, "HI ALL");
return 1;
}