Tio Akima
New member
- Messages
- 349
- Points
- 0
- Age
- 36
- Discord
- TioAkima#0636
- Github
- Tio Akima
- Emulator
Hi guys,
in map.c I want to create a basic function
a function that returns the player ID, without parameters
only with return ID from the player.
If anyone knows
Something like this:
int map_get_id() {
struct map_session_data* sd;
sd = map->id2sd(?);
return sd->bl.id;
}
EDIT: It does not have to be exactly in map.c
but must be a function that returns the player ID
Can someone help me?
in map.c I want to create a basic function
a function that returns the player ID, without parameters
only with return ID from the player.
If anyone knows
Something like this:
int map_get_id() {
struct map_session_data* sd;
sd = map->id2sd(?);
return sd->bl.id;
}
EDIT: It does not have to be exactly in map.c
but must be a function that returns the player ID
Can someone help me?
Last edited by a moderator: