MuhammadZeeshan

asfasfas ASF AS asdgasg

Dec 12th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. else if ( cmd == "!alias" )
  2. {
  3. if ( level < 3 ) EchoNotice1( user, ICOL_RED + "Error - Your level is not high enough to use that command." );
  4. else if ( !text ) EchoNotice1( user, ICOL_RED + " Error - Syntax: " + cmd + " <player name>" );
  5. else
  6. {
  7. local plr = GetPlayer(text)
  8. 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." );
  9. else
  10. {
  11. local q = QuerySQL( db, "SELECT * FROM UIDAlias WHERE UID='" + plr.UniqueID + "'" );
  12. if ( GetSQLColumnData( q,0 ) == plr.UniqueID )
  13. {
  14. EchoMessage1( ICOL_RED+"Player: [ " + plr.Name +" ] Aliasess [ " + GetSQLColumnData(q,1) + " ]" );
  15. }
  16. }
  17. }
  18. }
Add Comment
Please, Sign In to add comment