Posts: 20
Threads: 7
Joined: May 2016
Reputation:
0
hi to all guys
have a problem in my gamemode(rpg)(b-zone debugged gamemod) playeres use a .cs file and samp funcs then use a command /xkillall then all the playeres will be die (first they go up then they will kill in ground) I have no idea about cleo only thing that I was thinking to do is make a script to ban playeres after typing somthing or some cmds anyone can help me pls?
Posts: 349
Threads: 38
Joined: Jul 2015
Reputation:
0
Well, firstly, it's not that easy detecting what kind of cleo mods players are using, but there are some includes or plugins exist that blocks most of the illegal cleo mods from players. You can search on ****** for it.
Secondly, don't you have admins in your server? Administrator team in every samp server exist for a reason. They should check for hackers like those and ban them manually.
PS: I am probably saying this for the 4th time, this section isn't for requesting something like this. It's for "scripting help".
Posts: 20
Threads: 7
Joined: May 2016
Reputation:
0
so thank you guys. but after adding this to my pawn I will get this errors
C:\Users\user\Desktop\relog.pwn(1) : warning 235: public function lacks forward declaration (symbol "OnPlayerText")
C:\Users\user\Desktop\relog.pwn(3) : error 017: undefined symbol "strcmp"
C:\Users\user\Desktop\relog.pwn(4) : error 017: undefined symbol "SendClientMessageToAll"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
after deleting public I have undifined errors too
Posts: 1,276
Threads: 6
Joined: Aug 2014
Quote:
Originally Posted by Dayrion
No.
text = "Hey"
text[0] : "Hey"
text[1] : "ey"
-------------------
I don't know too but if the player type something and press enter, I think OnPlayerText is called. It's need to be tested.
|
What? Why would [0] be the whole word? But 1 be only ey? That's wrong.
text[0] : H
text[1] : e
text[2] : y
OT: You cannot detect cleo cmds because they register their commands as client side so it doesn't get sent to the server.