View Single Post
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 10-24-2009 , 12:24   Re: USPR v2.0
Reply With Quote #4

Things you should/could do in the code:
  • Indent the code properly.
  • Since you included cstrike, you could use cs_get_user_team() instead of get_user_team().
  • Callback the menu, using menu_makecallback(), dont use if and elses.
  • The replace_all() in the color stock is not needed, since you use ^x0* in your text messages.

Suggestions:
  • Make a cvar for the extra amount of health the player recieves.

There is a lot to mention, but start with that.
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline