Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if ( cmd == "!alias" )
- {
- 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 - Syntax: " + cmd + " <player name>" );
- else
- {
- local plr = GetPlayer(text)
- if ( !plr ) EchoNotice1( user, "Error: Invalid player, note: player have to online to use this command, if you want to check offline players alias first get the uid of that cunt by !getuid <name>, and put that uid in !salias." );
- else
- {
- local q = QuerySQL( db, "SELECT * FROM UIDAlias WHERE UID='" + plr.UniqueID + "'" );
- if ( GetSQLColumnData( q,0 ) == plr.UniqueID )
- {
- EchoMessage1( ICOL_RED+"Player: [ " + plr.Name +" ] Aliasess [ " + GetSQLColumnData(q,1) + " ]" );
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment