Author Topic: Leave game player ID bug?  (Read 1236 times)

0 Members and 1 Guest are viewing this topic.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Leave game player ID bug?
« on: April 08, 2007, 03:39:03 pm »
I've got...
Code: [Select]
procedure OnLeaveGame(IP, Nickname: string;Team: byte);
begin
  if Join[IPtoID(IP)] = false then begin
    Join[IPtoID(IP)] := true;
    Command('/say ID = ' + InttoStr(IPtoID(IP)));
  end;
end;
but it seems to end up with 32... when i should have been the player's ID.. (2 in my case)
is this my bad? or is it gona b a fix in next version? or just something thats never going to be fixed?
how would i go about getting the ID of the player who just left?
« Last Edit: April 08, 2007, 03:40:46 pm by DorkeyDear »

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Leave game player ID bug?
« Reply #1 on: April 09, 2007, 08:05:24 pm »
Yeah theres a bug with the OnLeaveGame parameters, its fixed in the next version.