ID:176201
 
cna someone send me the code for banning someone, and where it goes.
APB93 wrote:
can someone send me the code for banning someone, and where it goes.



You just commited Crime Code 77194 Stupe.
In response to Crispy
Hah, Troll Free Zone :D
In response to Branks
the only way i know of banning someone is to do an if under login

if(usr.key='whateverthekeynameis')
Logout()
(del)src
In response to Konomendragon
That is wrong in so many ways. Let's see...


usr should not be used in a proc.

= is the assignment operator, not the comparison operator. == is the comparison operator.

Single quotes are for defining files to be included in the .rsc, not for text strings.

(del)src is totally wrong. You probably want del(src).

And why call Logout() and then del(src)? That would just give the abuser a method of spamming the game (assuming there is a Logout() message).


I suggest you learn to program before giving programming help.