AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   unstuck wont work (https://forums.alliedmods.net/showthread.php?t=324887)

itoxicreal 05-30-2020 12:26

unstuck wont work
 
Hi in my zombieplague sma my unstuck code wont work
here is the code
Code:

case 3:
                {
                        if ( IsAlive [id] )
                        {
                                if ( is_player_stuck ( id ) )
                               
                                        DoRandomSpawn ( id, 1 );
                                else
                                        client_print_color ( id, print_team_default, "%s You are not stuck.", CHAT_PREFIX );
                        }
                        else
                                client_print_color ( id, print_team_default, "%s Extra items are unavailable right now...", CHAT_PREFIX );
                }


OciXCrom 05-30-2020 14:03

Re: unstuck wont work
 
What are we supossed to do with that?

What does is_player_stuck do?
What does DoRandomSpawn do?
What is IsAlive?


All times are GMT -4. The time now is 17:06.

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