AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help with TSRP plugin (https://forums.alliedmods.net/showthread.php?t=25887)

matrix2591 03-22-2006 20:01

Help with TSRP plugin
 
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?


All times are GMT -4. The time now is 16:37.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.