PHP Code:
temp.p = findplayer("gemini2");
if (p.pmswaiting()) {
if (p.isguildpm()) {
// GUILD PM
}else if (p.ismasspm()) {
// MASS PM
}
// etc.
}
Quote:
Originally Posted by Googi
For staff messages:
PHP Code:
//#CLIENTSIDE
function onWhatever() {
for (pl: allplayers) {
if (pl.pmswaiting()) {
//check if pl.account is wearing a staff tag
}
}
}
|
From what I see, that will check every players on the server if they have a pm on wait :O