Fixed some small mistakes.

This commit is contained in:
Johnny Bergström 2004-09-27 13:45:13 +00:00
parent 8da965552b
commit ecc07d4b45
2 changed files with 2 additions and 3 deletions

View File

@ -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]);

View File

@ -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"