Raised This Month: $ Target: $400
 0% 

Aiming at player show..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 09-02-2007 , 04:40   Re: Aiming at player show..
Reply With Quote #10

Omg >.> look at this and stop bumping... is just a simple e.g :

Code:
new check_points[33];
//.....
public my_function(id) //maybe client prethink()
{
 new target, body, distance = 999999;
 get_user_aiming(id, target, body, distance);
 
 if(is_user_connected(target))
 {
  check_points[target]; //dunno , sum somewhere....
 
  new ip[32];
  get_user_ip(target, ip, sizeof ip - 1, 1);
 
  new country[32];
  geoip_country(ip, country, sizeof country - 1);
 
  new player_time = get_user_time(target, 1);
 
  new Buffer[256];
  format(Buffer, sizeof Buffer - 1, "CheckPoints: %d | Contry : %s | Time : %d", check_points[target], country, player_time);
 
  message_begin(MSG_ONE, get_user_msgid("StatusText"), _, id);
  write_byte(0);
  write_string(Buffer);
  message_end();
 }
}
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
 



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 16:09.


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