| 113 |
|
else{} |
| 114 |
|
return 0; |
| 115 |
|
} |
| 116 |
+ |
|
| 117 |
|
uint16_t ONICALL addfake(sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* dontuse2, sl_arg* ret) |
| 118 |
|
{ |
| 119 |
|
player_info * info; |
| 121 |
|
info->Actions1 = Action_Forward; |
| 122 |
|
return 0; |
| 123 |
|
} |
| 124 |
+ |
|
| 125 |
+ |
uint16_t ONICALL list_players(sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* dontuse2, sl_arg* ret) |
| 126 |
+ |
{ |
| 127 |
+ |
int i; |
| 128 |
+ |
for(i = 0; i++; i < MAX_PLAYERS) |
| 129 |
+ |
{ |
| 130 |
+ |
if(PlayerList[i]) |
| 131 |
+ |
{ |
| 132 |
+ |
DDrConsole_PrintF("%i %i | %s", i, PlayerList[i]->spawnnumber, PlayerList[i]->name); |
| 133 |
+ |
} |
| 134 |
+ |
} |
| 135 |
+ |
return 0; |
| 136 |
+ |
} |
| 137 |
+ |
|
| 138 |
+ |
|
| 139 |
|
void SLrFlatline_Initialize() { |
| 140 |
|
|
| 141 |
|
DDrPatch_MakeCall(0x004FA88B, FLrInput_Update_Keys); |