PC_Setglobalreg
Akkarinage edited this page Nov 5, 2016
·
1 revision
Pages 190
Getting Started
- Installation instructions
- Transitioning from SVN to GIT
- Compiling on your OS
- Connecting & Starting rAthena
Configure your Server
- Scripting like a pro!
- Server Modifications and what to expect
- Database Configuration
Customization
- Adding Custom Items
- Adding Custom Monsters
- GRF Encryption
Setup the Client
- Data folder
- Diff files
Misc Databases
Third-Party Software
Clone this wiki locally
title: PC Setglobalreg permalink: /PC_Setglobalreg/
Set player integer variable from source
#define pc_setglobalreg(sd,reg,val) pc_setregistry(sd,reg,val,3)
pc_setglobalreg(sd,"VARIABLE_NAME", VALUE);
This only works for numeric variables, strings check pc_setglobalreg_str.