AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved replace player decal ? (https://forums.alliedmods.net/showthread.php?t=293767)

abdobiskra 02-10-2017 03:17

replace player decal ?
 
Hi
i cant see the decal when i try to replace it for players ?
PHP Code:

#include < amxmodx >

public plugin_init( )
{
    
register_messageSVC_TEMPENTITY"ReplaceTempEntity" );
}

public 
ReplaceTempEntity( )
{
    if( 
get_msg_arg_int(1) == TE_PLAYERDECAL  )
    {
        
set_msg_arg_int5get_msg_argtype), 45 );
    }


I hear the sound of drawing spray decal but the decal image not found in textur ?

PRoSToTeM@ 02-10-2017 05:48

Re: replace player decal ?
 
What decal do you want/expect to see?

abdobiskra 02-10-2017 06:01

Re: replace player decal ?
 
for ex:
PHP Code:

"{biohaz" 

for zombies


All times are GMT -4. The time now is 20:55.

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