Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if ( cmd == "!salias" )
- {
- if ( level < 3 ) EchoNotice1( user, ICOL_RED + "Error - Your level is not high enough to use that command." );
- else if ( !text ) EchoNotice1( user, ICOL_RED + "Error: /"+cmd+" <player uid>");
- else
- {
- local q = QuerySQL( db, "SELECT * FROM Alias WHERE UID='" + text + "'" );
- if ( GetSQLColumnData( q,2 ) == text )
- {
- EchoMessage1(ICOL_PURPLE + "UID: [ " + GetSQLColumnData(q,2) +" ] ");
- EchoMessage1(ICOL_PURPLE + "Aliasess [ " + GetSQLColumnData(q,0) + " ]")
- }
- else EchoNotice1( user, ICOL_RED + " Error - " + text + " - invalid uid." );
- FreeSQLQuery(q);
- }
- }
Add Comment
Please, Sign In to add comment