RewardPartyXP is not a default function, and as mwplayer said, you must include a script so you can use it.
( #include "nw_i0_tool" )
Put that before void main()
This command gives XP to a whole party.
GiveXPToCreature is a default function, and thus you need not include anything. It only gives XP to a single creature at a time though.
Modifié par Xardex, 01 juillet 2011 - 09:20 .