How to lock ALL commands? +Rep
#1

From lot weeks i am searching how to lock all commands so:

Onplayercommandtext{

HERE THE FUNCTION TO LOCK ALL, I ALWAYS GET INVALID FUNCTION OR DECLARATION IF I PUT:

if(AFK[playerid]==1){
Sendclient...
return 1;
}

How to lock all Onplayercommandtext public basing in an IF( function?

Thanks to all repliers,
Rodri.
Reply
#2

create a function.
Which will send client message, And if pAFK = 1, Return 0.
Reply
#3

Under OnPlayerCommandText (at the top) --> add a condition and make it return a message or whatever!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)