Hello everyone!!
Can someone help me? Idk why my code doesn’t work
The idea is that the script sets to the PC enough XP to reach level 10
Hello everyone!!
Can someone help me? Idk why my code doesn’t work
The idea is that the script sets to the PC enough XP to reach level 10
Take away the “object” and “int” in the last function, and add int before nXPAmount. Like this:
void main()
{
object oPC = GetPCSpeaker();
int nXPAmount = 4500;
SetXP(oPC,nXPAmount);
}
Thank you very much, it works perfectly!!
Glad I could help!