Quote:
Originally Posted by Switch
Ok now can someone help with this:
PHP Code:
//#CLIENTSIDE
function onCreated()
onTimeOut();
function onTimeOut() {
player.chat = player.account.pmswaiting() @ " has sent you a PM";
setTimer(.05);
}
Can someone tell me how to make it so FIRST it checks if the player has a message, THEN it checks if it's a Guild Message, Staff Message, PM, or Mass. It's confuszling me.
|
PHP Code:
function onCreated()
setTimer(0.05);
function onTimeout() {
if (player.pmswaiting()) {
if (player.isguildpm()) {
// GUILD PM
}else if (player.ismasspm()) {
// MASS PM
}
}
setTimer(0.1);
}