21 lines
553 B
Plaintext
21 lines
553 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPlayer = GetFirstPC();
|
||
|
string szPlayer = GetPCPlayerName(GetLastUsedBy());
|
||
|
string szFrostMessage = " knocking at the door of Mount Frost";
|
||
|
string szMessage = ((szPlayer) + (szFrostMessage));
|
||
|
string szViconius = "fr_viconius_helm";
|
||
|
|
||
|
while (GetIsObjectValid(oPlayer) == TRUE)
|
||
|
{
|
||
|
GetItemPossessedBy(oPlayer, szViconius);
|
||
|
|
||
|
if((GetItemPossessedBy(oPlayer, szViconius)) != OBJECT_INVALID)
|
||
|
{
|
||
|
SendMessageToPC(oPlayer, szMessage);
|
||
|
}
|
||
|
|
||
|
oPlayer = GetNextPC();
|
||
|
}
|
||
|
}
|