AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Tag mismatch (https://forums.alliedmods.net/showthread.php?t=173637)

KamiN 12-08-2011 09:35

Tag mismatch
 
http://img189.**************/img189/2701/28035562.png

Code:

public time_is_up(id)
{       

        if(cs_get_user_team(id) == CS_TEAM_CT && specialday[20] == DAY_INVIS && is_user_alive(id))
                set_entity_visibility ( id, 1.0 )  // Line 243

}

How to fix this warning?

fl0werD 12-08-2011 10:35

Re: Tag mismatch
 
This is not float!

KamiN 12-08-2011 13:05

Re: Tag mismatch
 
What do you mean? O.o

Devil259 12-08-2011 13:40

Re: Tag mismatch
 
from funcwiki :

Code:

set_entity_visibility ( entity, [ visible = 1 ] )
So, set_entity_visibility ( id, 1.0 )

->

set_entity_visibility ( id, 1 )


All times are GMT -4. The time now is 11:49.

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