Raised This Month: $12 Target: $400
 3% 

set_entity_visibility ; [RESOLU]


  
 
 
Thread Tools Display Modes
Author Message
eVerup
Veteran Member
Join Date: Jul 2009
Location: N'importe Ou ...
Old 10-09-2009 , 17:32   set_entity_visibility ; [RESOLU]
#1

Yop all !

j'ai un petit probleme, pour une version 3 du respawn, j'ai besoin de l'invisibilitée.

Donc pour tester, j'ai fais ce code :

PHP Code:
#include <amxmodx>
#include <engine>

public plugin_init()
{
    
register_plugin("visibility""1.0""eVerup")
    
register_clcmd("say fintest""fintest" );
    
register_clcmd("say test""test" );
}

public 
testid )
{
    
set_entity_visibility id1.0 
}

public 
fintestid )
{
    
set_entity_visibility id0.0 

Le test marche, on vois plus la personne, le fintest ne marche pas. on ne vois tj pas la personne ...

Comment ca se fais ? y-a-t-il d'autre fonction pour ceci ?
Merci.
eVerup is offline
sooN
Veteran Member
Join Date: Apr 2009
Old 10-09-2009 , 17:41   Re: set_entity_visibility ; Help ?
#2

PHP Code:
public testid )
{
    
set_entity_visibility id
}

public 
fintestid )
{
    
set_entity_visibility id

__________________
sooN is offline
eVerup
Veteran Member
Join Date: Jul 2009
Location: N'importe Ou ...
Old 10-10-2009 , 04:49   Re: set_entity_visibility ; Help ?
#3

Merci, ca marche bien.
eVerup is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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