Posts: 168
Threads: 115
Joined: Jul 2010
Reputation:
0
Please I play on my server and same player connect,teleport with me and my nick kicked and he have my nick...
and play for me...
please help me with antihack for thefts nick..
Posts: 1,276
Threads: 6
Joined: Aug 2014
Quote:
Originally Posted by Karan007
Hello ,
i've created this but it's untested don't know if it will work but still try it :d
PHP код:
new name[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
GetPlayerName(playerid, name, sizeof(name));
if(name == name) return Kick(playerid);
return 1;
}
|
What the hell is that code what will it fix like jesus.
Posts: 1,276
Threads: 6
Joined: Aug 2014
Posts: 807
Threads: 62
Joined: Dec 2014
Reputation:
0
Well you must loop the players and check if the name already exists