name

Started by Cool, May 24, 2016, 01:22 PM

Previous topic - Next topic

Cool

i want to add something that no one can ban my name only
 if (player.Name == "Shit") Messageplayer ("this is shit",player)
but its not working any other method
i want no admin commands works on me if any one enter my in game id 0 message him this is shit how to do that

KAKAN

If( the_name == "shit" ) MessagePlayer("mc bc",player);
so, your script would look like:-
local bc = split(text," ");
if( bc[0].tolower() == "mc" ) MessagePlayer("Paki!",player);
oh no

Cool

#2
so how i do what i want?? :-\

Stormeus

#3
Did you actually read KAKAN's post?

You have the admin command. When it looks for the player to kick or whatever:
if (target.Name == "name") MessagePlayer("No", player);
else { /* kick */ }

Still, this is a pretty bad way of approaching the problem since a hacker could just join the server with your name and nobody would be able to kick him.

Cool

Quote from: Stormeus on May 24, 2016, 02:07 PMDid you actually read KAKAN's post?
yes he abuse pakistanis mc = its a bad word in our language what ever he done its his own thoughts
Thanks

Cool

Quote from: KAKAN on May 24, 2016, 01:36 PMIf( the_name == "shit" ) MessagePlayer("mc bc",player);
so, your script would look like:-
local bc = split(text," ");
if( bc[0].tolower() == "mc" ) MessagePlayer("Indian!",player);
hahahah