AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [ Help ] Plugin Problem (https://forums.alliedmods.net/showthread.php?t=240859)

xDoctor 05-23-2014 12:03

[ Help ] Plugin Problem
 
i got Kia ProSurf and i tried to add am a Top SP and its works but

if you logout and there is new map, restart , server falldown and you not connect

you wont bee seen in the map can some one help me ?

Top Code :

PHP Code:

public surf_top(id
{    
    new 
szHTML[2500], iLen
    
    new 
SurfTopTopId;
    
    
iLen copy(szHTMLcharsmax(szHTML), "<html><body><h2>Top SurfPoints</h2><br><table><tr><th>#Rank.    </th><th>Name     </th><th>SurfPoints</th></tr>"); 
    
    for( new 
0get_maxplayers(); i++ )
    {
        if( 
is_user_hltv) || is_user_bot) )
        continue;
        
    new 
Pros g_iTempPoints];
        
    if( 
Pros SurfTop )
    {
        
TopId i;
            
        
SurfTop Pros;
            
    }
    
    
iLen += formatex(szHTML[iLen], charsmax(szHTML)-iLen"<tr><td>%i.</td><td>%s</td><td>%i</td></tr>"iGetUserName), g_iTempPoints] ); 
    
    }  
     
    
iLen += copy(szHTML[iLen], charsmax(szHTML)-iLen"</table></body></html>"); 
     
    
show_motd(idszHTML"Top 15"); 
     
    return 
PLUGIN_HANDLED



Torge 05-23-2014 12:50

Re: [ Help ] Plugin Problem
 
Look!

xDoctor 05-23-2014 13:01

Re: [ Help ] Plugin Problem
 
Quote:

Originally Posted by Torge (Post 2141606)

whats the problem ?

WildCard65 05-23-2014 13:03

Re: [ Help ] Plugin Problem
 
Quote:

Originally Posted by xDoctor (Post 2141608)
whats the problem ?

You double posted.

xDoctor 05-23-2014 13:05

Re: [ Help ] Plugin Problem
 
Quote:

Originally Posted by WildCard65 (Post 2141609)
You double posted.

sorry didnt know that its allowed

but can some one help me here ?


i Need a Save for The Top

and i dont know how to do this

fysiks 05-26-2014 14:39

Re: [ Help ] Plugin Problem
 
The forum rules require that your topic title be descriptive. Please change your topic title to describe your question or issue. If you fail to do so, you risk your topic being trashed.

Baws 05-26-2014 16:19

Re: [ Help ] Plugin Problem
 
Quote:

Originally Posted by fysiks (Post 2142808)
The forum rules require that your topic title be descriptive. Please change your topic title to describe your question or issue. If you fail to do so, you risk your topic being trashed.

When fysiks post that it doesn't mean like you can't post anymore.
Just do what's asked and someone will help you.


All times are GMT -4. The time now is 09:39.

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