View Single Post
  #10  
Old 12-15-2007, 06:37 PM
gemini2 gemini2 is offline
Fincayran Loser
gemini2's Avatar
Join Date: Jun 2007
Location: Georgia
Posts: 174
gemini2 is on a distinguished road
Send a message via AIM to gemini2 Send a message via MSN to gemini2
Quote:
Originally Posted by Switch View Post
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);

__________________
Quote:
Originally Posted by Crystia RC
*Angelu: i said the tuba isnt fitting
Oinkness: well use some lube
Quote:
Originally Posted by Angelu View Post
for me the hole is to big and its a way to thin :O
Reply With Quote