16 lines
367 B
Plaintext
16 lines
367 B
Plaintext
void main()
|
|
{
|
|
object PC = GetEnteringObject();
|
|
if(GetIsPC(PC))
|
|
{
|
|
object oMod = GetModule();
|
|
int D = GetCampaignInt("ENTER2","NUMBER2",oMod);
|
|
int E=(D+1);
|
|
string PCPLAYER = GetPCPlayerName(PC);
|
|
string GN = GetName(PC);
|
|
SetCampaignString("ENTER2","PCNAME2",GN,oMod);
|
|
SetCampaignInt("ENTER2","NUMBER2", E,oMod);
|
|
SetCampaignString("ENTER2","PCPLAYER",PCPLAYER,oMod);
|
|
}
|
|
}
|