Fix broken DoD Fun module natives (#851)

* Update hardcorded offsets

* Fixed using incorrect parameter for setting string
This commit is contained in:
diamond-optic
2020-05-28 18:54:36 -04:00
committed by Arkshine
parent e463e06480
commit 4b335adfe8
2 changed files with 7 additions and 7 deletions

View File

@@ -206,7 +206,7 @@ static cell AMX_NATIVE_CALL set_user_teamname(AMX *amx, cell *params){
if ( pPlayer->ingame ){
int iLen;
char *szTeamName = MF_GetAmxString(amx, params[1], 0, &iLen);
char *szTeamName = MF_GetAmxString(amx, params[2], 0, &iLen);
pPlayer->setTeamName(szTeamName);