Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onPlayerCommand( player, cmd, text )
- {
- if ( cmd == "checknick" )
- {
- local test = Test( player );
- if ( test == true ) print( "You are Venkat!" );
- else if ( test == false ) print( "You're not Venkat!" );
- }
- }
- function test( player )
- {
- if ( player.Name == "Venkat" ) return true;
- else return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement