Also your code above will always return true.
if(!isloaded(packagename.c_str()) || isloaded(packagename.c_str()))
It's like putting if(1), since you're covering the two possible returns of isloaded(), it can either return 1 (which is on the second half) or 0 (which is on the left half).
But yeah. If you do what you just did, you essentially screw all zone-based player.pl files if it's only working off templates.
I may have to peek and see if I can solve the event handling to execute the two different player files. *shrugs*..
|