View Single Post
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 12-06-2011 , 06:08   Re: Show player info
Reply With Quote #2

line 56 : warning 217: loose indentation

Moreover, Steam array len should be 35 instead of 32.

Code:
public menu_handler(id, menu, item) {         if( item == MENU_EXIT )     {         menu_destroy(menu);         return PLUGIN_HANDLED;     }         new data[6], szName[64];     new access, callback;     menu_item_getinfo(menu, item, access, data,charsmax(data), szName,charsmax(szName), callback);         new tempid = str_to_num(data); { // what is this ??     new Name[32], Ip[32], Steam[32], CurrentDate[32], iname[32];         get_user_name(tempid, Name, 31) // Get user name     get_user_authid(tempid, Steam, 31) // Get user team     get_user_ip(tempid, Ip, 31, 1) // Get user ip     get_user_name(id, iname, 31) // Get your name to notify the tempid     get_time("%d.%m.%Y", CurrentDate, 31) // Get Current Date     client_print(id, print_chat, "%s Date: %s  NAME: %s STEAM: %s                %s IP: %s",TAG,CurrentDate,Name,Steam,Name,Ip);     client_print(tempid, print_chat, "%s %s viewed your info", TAG, iname); } // and this ?? menu_destroy(menu); return PLUGIN_HANDLED; }

Code:
#define Website "http://eac.example.com/"

You never use it.
__________________
You can do anything you set your mind to, man.


Last edited by Devil259; 12-06-2011 at 06:09.
Devil259 is offline