AlliedModders

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

amazingguy 08-14-2014 16:09

.....
 
1 Attachment(s)
Hey Guys ! I've Prblm !

[AMXX] Displaying debug trace (plugin "basebuilder65.amxx")
[AMXX] Run time error 10: native error (native "cs_set_user_team")
[AMXX] [0] basebuilder65.sma::client_death (line 1065)

P.S: Its Happening Only With Some Maps

zmd94 08-15-2014 11:08

Re: Help Base Builder 6.5 !
 
1 Attachment(s)
Just try below:

amazingguy 08-16-2014 11:40

Re: Help Base Builder 6.5 !
 
Quote:

Originally Posted by zmd94 (Post 2184353)
Just try below:

CAn U Tell Me What u did :wink:

amazingguy 08-16-2014 11:45

Re: Help Base Builder 6.5 !
 
Bcz I Tried Some Solutions And i Wan't To Know If I did This Before :P

zmd94 08-16-2014 11:54

Re: Help Base Builder 6.5 !
 
Does the problem solve?

amazingguy 08-16-2014 11:58

Re: Help Base Builder 6.5 !
 
Quote:

Originally Posted by zmd94 (Post 2184745)
Does the problem solve?

Didn't Try it Yet !
I Wan't To Know What U Modified ! Bcz I tried some solutions before :P

zmd94 08-16-2014 12:05

Re: Help Base Builder 6.5 !
 
Just try it first. If the problem is solved, then I will tell you the steps. ;)

amazingguy 08-16-2014 12:09

Re: Help Base Builder 6.5 !
 
Quote:

Originally Posted by zmd94 (Post 2184748)
Just try it first. If the problem is solved, then I will tell you the steps. ;)

Ok :3
I Can't Try it Now i've Players
So Please Dont Forget To Check this Topic Tomorrow :V
Thank you :wink:

amazingguy 08-17-2014 12:47

Re: Help Base Builder 6.5 !
 
New Problem xD
Function is not present (function "Respawn_Human") (plugin "basebuilder65.amxx")
L 08/17/2014 - 16:44:04: [AMXX] Displaying debug trace (plugin "basebuilder65.amxx")
L 08/17/2014 - 16:44:04: [AMXX] Run time error 10: native error (native "set_task")
L 08/17/2014 - 16:44:04: [AMXX] [0] basebuilder65.sma::Respawn_Player (line 1089)
L 08/17/2014 - 16:44:05: Function is not present (function "Respawn_Human") (plugin "basebuilder65.amxx")

zmd94 08-17-2014 16:23

Re: Help Base Builder 6.5 !
 
Just try to change this:
PHP Code:

public Respawn_Player(id)
{
    
id-=TASK_RESPAWN
    
    
if (!is_user_connected(id))
        return 
PLUGIN_HANDLED
    
    
if (((g_boolCanBuild || g_boolPrepTime) && cs_get_user_team(id) == CS_TEAM_CT) || cs_get_user_team(id) == CS_TEAM_T)
    {
        
ExecuteHamB(Ham_CS_RoundRespawnid)
        
        
//Loop the task until they have successfully spawned
        
if (!g_isAlive[id])
            
set_task(3.0,"Respawn_Human",id+TASK_RESPAWN)
    }
    return 
PLUGIN_HANDLED


--->
PHP Code:

public Respawn_Player(id)
{
    
id-=TASK_RESPAWN
    
    
if (!is_user_connected(id))
        return 
PLUGIN_HANDLED
    
    
if (((g_boolCanBuild || g_boolPrepTime) && cs_get_user_team(id) == CS_TEAM_CT) || cs_get_user_team(id) == CS_TEAM_T)
    {
        
ExecuteHamB(Ham_CS_RoundRespawnid)
        
        
//Loop the task until they have successfully spawned
        
if (!g_isAlive[id])
        {
            
set_task(3.0,"Respawn_Human",id+TASK_RESPAWN)
        }
    }
    return 
PLUGIN_HANDLED




All times are GMT -4. The time now is 13:15.

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