Advertisement
Guest User

umsg late show help hook

a guest
Nov 5th, 2010
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.26 KB | None | 0 0
  1. function DA_ShowHelp(ply)
  2.  
  3. umsg.Start(ply:UniqueID().."Skills")
  4.  
  5.     umsg.Short(ply.Skills.totallevel)
  6.     umsg.Short(ply.Skills.mainlevel)
  7.  
  8.     umsg.Short(ply.Skills.strength)
  9.     umsg.Short(ply.Skills.hitpoints)
  10.     umsg.Short(ply.Skills.defense)
  11.     umsg.Short(ply.Skills.mining)
  12.     umsg.Short(ply.Skills.woodcutting)
  13.     umsg.Short(ply.Skills.smithing)
  14.     umsg.Short(ply.Skills.firemaking)
  15.     umsg.Short(ply.Skills.cooking)
  16.     umsg.Short(ply.Skills.fishing)
  17.     umsg.Short(ply.Skills.tailoring)
  18.     umsg.Short(ply.Skills.prayer)
  19.     umsg.Short(ply.Skills.farming)
  20.    
  21.     umsg.Short(ply.Skills.strengthxp)
  22.     umsg.Short(ply.Skills.hitpointsxp)
  23.     umsg.Short(ply.Skills.defensexp)
  24.     umsg.Short(ply.Skills.miningxp)
  25.     umsg.Short(ply.Skills.woodcuttingxp)
  26.     umsg.Short(ply.Skills.smithingxp)
  27.     umsg.Short(ply.Skills.firemakingxp)
  28.     umsg.Short(ply.Skills.cookingxp)
  29.     umsg.Short(ply.Skills.fishingxp)
  30.     umsg.Short(ply.Skills.tailoringxp)
  31.     umsg.Short(ply.Skills.prayerxp)
  32.     umsg.Short(ply.Skills.farmingxp)
  33.  
  34. umsg.End()
  35.  
  36.     Data.Inventory = ply.Inventory
  37.     Data.Bank = ply.Bank
  38.     Data.Resources = Resources.Info
  39.     Data.Products = Products.Shop1
  40.     Data.ShopName = Products.ShopName
  41.  
  42. datastream.StreamToClients(ply, "cucc" ,Data )
  43.  
  44. ply:ConCommand("DA_Main")
  45.  
  46.  
  47. end
  48.  
  49. hook.Add("ShowHelp","DA_ShowHelp",DA_ShowHelp)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement