raPalooza~
New member
Is it possible to get an array with pc_readglobalreg? if so, is it possible to getarraysize of an array from pc_readglobalreg?
Trying to create a plugin to set an effect on mobs from an array ( like mobs to kill in a quest )
Simple but haven't found it anywhere ;]
EDIT: this doesn't work :[
Trying to create a plugin to set an effect on mobs from an array ( like mobs to kill in a quest )
Simple but haven't found it anywhere ;]
EDIT: this doesn't work :[
Code:
for (i = 0; i <= 10; ++i) {
sprintf(output,"mob2kill[%d]",i);
mob = pc_readglobalreg(sd, script->add_str(output));
Last edited by a moderator: