Question [REP+]
#4

make the result / response of the command and key on function example :
PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys) {
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;

Reply


Messages In This Thread
Question [REP+] - by SecretBoss - 11.10.2015, 11:05
Re: Question [REP+] - by Danzou - 11.10.2015, 11:21
Re: Question [REP+] - by SecretBoss - 11.10.2015, 11:23
Re: Question [REP+] - by jlalt - 11.10.2015, 11:31
Re: Question [REP+] - by SoFahim - 11.10.2015, 12:56
Re: Question [REP+] - by SecretBoss - 12.10.2015, 12:53
Re: Question [REP+] - by bgedition - 12.10.2015, 13:19
Re: Question [REP+] - by SecretBoss - 12.10.2015, 13:24
Re: Question [REP+] - by bgedition - 12.10.2015, 13:30
Re: Question [REP+] - by S4D - 12.10.2015, 13:31

Forum Jump:


Users browsing this thread: 1 Guest(s)