Raised This Month: $ Target: $400
 0% 

argument type mismatch & loose indentation problem :/


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 01-21-2005 , 07:56  
Reply With Quote #6

It should be rateType[]

Code:
public send_msg(id, rateType[], rateValue) {       new playerName[32]     new strMesg[128]     get_user_name(id,playerName,31)     format(strMesg,127,"[WARNING] - %s has a low %s value (%s)",playerName, rateType, rateValue)     // Inform any current admins of users low rate     new players[32], inum, playerid     // Get all the players     get_players(players,inum)                       // For each player, check if they are an admin in order to know who to send msg to     for(new i = 0; i < inum; ++i)     {         playerid = players[i]         if (!(get_user_flags(playerid)&ADMIN_CHAT))         {                           client_print(playerid,print_chat,strMesg)         }     }     }
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode