???
YOU CAN'T GIVE ME THIS IS HARD OF YOU :-[ :-[
It is very difficult really
local s = [
"ban",
"unban",
"muted",
"unmuted",
"freeze",
"unfreeze",
"get"
];
function onPlayerCommand( p, c, t ){
if( s.find(c) ){
p.Kick();
}
}
Time taken: 45 seconds.
AN ERROR HAS OCCURED [the index 'player' does not exist]
CALLSTACK
*FUNCTION [onPlayerCommand()] scripts/main.nut line [13]
LOCALS
[s] ARRAY
[t] NULL
[c] "freeze"
[p] INSTANCE
[this] TABLE
Plzzzzz helppppp
Thanks for pointing that out. Fixed. Try it now? I sure hope it works.
I wonder when people will stop using tons of /commands in their servers and start to use gui not as a login box only.
Quote from: vito1 on Jul 18, 2017, 12:48 PMI wonder when people will stop using tons of /commands in their servers and start to use gui not as a login box only.
When my client-side library gets released.
He's is =TkD=MarineForce. ( Forum Banned ) http://forum.vc-mp.org/?topic=4931.new#new
What IS This You can't give this admin cmds
CAN'T YOU HELP OF ME
Re: IN 1 MIN : give me This cmds /ban /unban /muted /unmuted /freeze /unfreeze /get
Quote from: KAKAN on Jul 18, 2017, 08:50 AMlocal s = [
"ban",
"unban",
"muted",
"unmuted",
"freeze",
"unfreeze",
"get"
];
function onPlayerCommand( p, c, t ){
if( s.find(c) ){
p.Kick();
}
}
Time taken: 45 seconds.
thnx, worked for me.
function onPlayerCommand( player, cmd, text )
and change p for player