Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. function onPlayerCommand( player, command, text )
  2. {
  3.     if ( command == "count" )
  4.     {
  5.         MessagePlayer( "first command", player );
  6.     }
  7.     else if ( command == "counttt" )
  8.     {
  9.         MessagePlayer( "second command", player );
  10.     }
  11.     else MessagePlayer( "Command is incorrect. Type !cmd to get a list of available commands", player );
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement