Fixed small bug
This commit is contained in:
1 parent
3014e60bdb
commit
17cca4587c
1 file changed
+1
-1
@@ -100,7 +100,7 @@ static cell AMX_NATIVE_CALL esf_avatar_setmodel(AMX *amx, cell *params)
|
|||||||
}
|
}
|
||||||
int len;
|
int len;
|
||||||
const char *str = MF_GetAmxString(amx, params[2], 0, &len);
|
const char *str = MF_GetAmxString(amx, params[2], 0, &len);
|
||||||
SET_MODEL(player, STRING(ALLOC_STRING(str)));
|
SET_MODEL(pEntity, STRING(ALLOC_STRING(str)));
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user