Remove Accounts
#1

I want a simple command like /deleteallaccounts in MYSQL
Even that account does not work (( connected to server))
Except I was not deleted account
Help me...
Reply
#2

Use
PHP Code:
drop table accounts
to delete your accounts table. so all accounts will be deleted.

Dont forget to add,
PHP Code:
 CREATE TABLE IF NOT EXIST(......) // insert your Table Structure here 
in OnGameModeInit();
Reply
#3

Quote:
Originally Posted by GTLS
View Post
Use
PHP Code:
drop table accounts
to delete your accounts table. so all accounts will be deleted.

Dont forget to add,
PHP Code:
 CREATE TABLE IF NOT EXIST(......) // insert your Table Structure here 
in OnGameModeInit();
Code:
DELETE FROM accounts WHERE 1
you can add something like
Code:
AND Name != 'yourname'
so it won't delete your account.
Reply
#4

pawn Code:
TRUNCATE tableName;
Reply
#5

Quote:
Originally Posted by DRIFT_HUNTER
View Post
pawn Code:
TRUNCATE tableName;
Keeping in mind if the table(s) Has a relationship, Truncate wouldn't work.
Reply
#6

i'll try,thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)