Load model by SteamId
Hello. What's wrong no this script? It is supossed to change the player model in Team Fortress Classic from using vault, but I get argument(2) type mismatch for tfc_setmodel. Thanks for reading and I hope someone will help me.
Code:
public model_change(id) |
Re: Load model by SteamId
You are trying to set an integer as a model.
|
Re: Load model by SteamId
Quote:
|
Re: Load model by SteamId
are you trying to set a player model or a weapon model? v_ or p_ ?
|
Re: Load model by SteamId
Quote:
|
Re: Load model by SteamId
PHP Code:
|
Re: Load model by SteamId
Quote:
|
Re: Load model by SteamId
Quote:
Code:
new szModel[32]; //Data holder for the model amount |
Re: Load model by SteamId
Ah sorry, it works now, just had to remove a line from somewhere.
|
| All times are GMT -4. The time now is 21:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.