Hi, I have a friend who trying to get a clothesmod for TSRP. We can't get it to change their model back, heres what we have for that part.
Code:
public client_infochanged(id)
{
new oldmodel[32]
new newmodel[32]
get_user_info(id, "model", newmodel, 31)
if(!equali(newmodel, oldmodel))
{
engclient_cmd(id, "model %s", oldmodel)
client_print(id,print_chat,"[Clothesmod] You may not change clothes that way.")
}
return PLUGIN_HANDLED
}
Can anyone please help us?
__________________