Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. CMD:testtw( playerid, params[ ] )
  2. {
  3. if( PlayerInfo[ playerid ][ pAdmin ] < 1 ) return SendClientMessage( playerid, -1, AdminOnly );
  4. new id;
  5. if( sscanf( params, "u", id ) ) return SendClientMessage( playerid, -1, "Use: /testtw [ playerid/playername ]" );
  6. SetPVarInt( id, "AdminTWIDIOT", playerid );
  7. new string[ 512 ];
  8. format( string, sizeof( string ), "Salut, adminul %s doreste sa-ti faca un test TeamViewer\n In cazul in care acepti vei fi teleportat la administrator\n In cazul in care refuzi vei primi ban automat 7 zile.", GetName( playerid ) );
  9. ShowPlayerDialog( id, DIALOG_TW, DIALOG_STYLE_MSGBOX, "Test TeamViewer", string, "Accepta", "Refuza" );
  10. return 1;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement