Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:testtw( playerid, params[ ] )
- {
- if( PlayerInfo[ playerid ][ pAdmin ] < 1 ) return SendClientMessage( playerid, -1, AdminOnly );
- new id;
- if( sscanf( params, "u", id ) ) return SendClientMessage( playerid, -1, "Use: /testtw [ playerid/playername ]" );
- SetPVarInt( id, "AdminTWIDIOT", playerid );
- new string[ 512 ];
- 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 ) );
- ShowPlayerDialog( id, DIALOG_TW, DIALOG_STYLE_MSGBOX, "Test TeamViewer", string, "Accepta", "Refuza" );
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement