mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Fixed some small mistakes.
This commit is contained in:
parent
8da965552b
commit
ecc07d4b45
@ -613,7 +613,8 @@ static cell AMX_NATIVE_CALL cs_set_user_team(AMX *amx, cell *params) // cs_set_u
|
||||
strcpy(teaminfo, "SPECTATOR");
|
||||
break;
|
||||
default:
|
||||
sprintf(teaminfo, "TEAM_%d", params[2]);
|
||||
int team_nr = (int)params[2];
|
||||
sprintf(teaminfo, "TEAM_%i", team_nr);
|
||||
}
|
||||
MESSAGE_BEGIN(MSG_ALL, GET_USER_MSG_ID(PLID, "TeamInfo", NULL));
|
||||
WRITE_BYTE(params[1]);
|
||||
|
@ -34,8 +34,6 @@
|
||||
// cstrike MODULE TO DO HERE: http://www.amxmodx.org/forums/viewtopic.php?t=45
|
||||
// This implementation uses Vexd's way (lightly modified) of setting models on players.
|
||||
|
||||
#define __amd64__
|
||||
|
||||
#include <extdll.h>
|
||||
#include <meta_api.h>
|
||||
#include "amxxmodule.h"
|
||||
|
Loading…
Reference in New Issue
Block a user