View Single Post
  #10  
Old 07-16-2007, 08:10 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by Cherrykao View Post
can you post a simple example for me to work on?


Just assign attr[] variables on the server. In the brackets, you put a number. attr[1] is automatically pre-defined for the player's hat, so you won't be able to use that. I believe attr[]'s go up to 30 or so. You can just do something like

PHP Code:
attr[10] = "Test"

on the serverside, and you'll be able to read attr[10] on the clientside.
Reply With Quote