Posts: 24
Threads: 7
Joined: Feb 2010
Reputation:
0
Hello, for a future I want to put clans in my server, in order that the people do not invent the clan or his nick is spy [ware] and similar things I would like to be able do like in order that when someone between with these signs they expel him from the servant automatically
Kes to say if some player has a nick with this "[" or "]" expel it immediately
Thank you
Posts: 24
Threads: 7
Joined: Feb 2010
Reputation:
0
What ? I will be silly but .. where I put this? In OnPlayerConect? And it of below?
Posts: 1,141
Threads: 56
Joined: Aug 2009
Reputation:
0
Show me the line of the error, because the anti [ ] works on my server.
Posts: 24
Threads: 7
Joined: Feb 2010
Reputation:
0
these:
C:\Documents and Settings\Escritorio\sa-mp\gamemodes\Deathmatch.pwn(163) : error 010: invalid function or declaration
Posts: 24
Threads: 7
Joined: Feb 2010
Reputation:
0
Excuse me I do not speak Englishman and the translator sometimes confuses the word
if(strfind(GetPlayerNameEx(playerid), "[", false) != -1 && strfind(GetPlayerNameEx(playerid), "]", false) != -1)