08.09.2016, 09:36
You edited 97 maps? You've got lots of patience, my friend!
Using an editor that supports regex such as Notepad++ would do the job I guess. I have never used regular expressions before so I can't help you on that. I actually took a look and tried myself in an online regex tester but I'm unsure if what I did was correct.
where 5 is the virtual world ID you need to change in each map.
Using an editor that supports regex such as Notepad++ would do the job I guess. I have never used regular expressions before so I can't help you on that. I actually took a look and tried myself in an online regex tester but I'm unsure if what I did was correct.
pawn Code:
// Regular expression :
(\b(CreateDynamicObject\()\b[^\)]+)\);
pawn Code:
// Entry to test against :
CreateDynamicObject(1200, 3.0, 4.0, 5.0, 13.0, 14.0, 15.0);
pawn Code:
// Replace with :
$1, .worldid = 5);