SA-MP Forums Archive
server shutting down after change weapons skills - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: server shutting down after change weapons skills (/showthread.php?tid=507496)



server shutting down after change weapons skills - Kanoru - 17.04.2014

server shutting down after change weapons skills

When i entered the server shuts down, anyone can help me?

i change skills of 1 to 999

Код:
SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[16:12:54] 
[16:12:54] Server Plugins
[16:12:54] --------------
[16:12:54]  Loading plugin: sscanf
[16:12:54]   Failed.
[16:12:54]  Loaded 0 plugins.

[16:12:54] 
[16:12:54] Filterscripts
[16:12:54] ---------------
[16:12:54]   Loading filterscript 'HExpAcc.amx'...
[16:12:54] 
--------------------------------------
[16:12:54]  King_Hual's Experience & Simple Account System Filterscript.
[16:12:54] --------------------------------------

[16:12:54]   Loading filterscript 'announce.amx'...
[16:12:54] 
Announce With Dialog And Textdraw loaded
[16:12:54]   Loading filterscript 'ladmin4v2.amx'...
[16:12:54] 
________________________________________
[16:12:54] ________________________________________
[16:12:54]            LAdmin Loading...            
[16:12:54] ________________________________________
[16:12:54] 
 -Configuration Settings Loaded
[16:12:54]  -39 Forbidden Names Loaded
[16:12:54]  -10 Forbidden Tags Loaded
[16:12:54]  -9 Forbidden Words Loaded
[16:12:54] ________________________________________
[16:12:54]            LAdmin Version 4.0           
[16:12:54]                 Loaded                  
[16:12:54] ________________________________________
[16:12:54]      Date: 17/4/2014  Time: 16:12 :54   
[16:12:54] ________________________________________
[16:12:54] ________________________________________

[16:12:54]   Loading filterscript 'Run.amx'...
[16:12:54]   Loaded 4 filterscripts.

[16:12:54]   Filterscript 'Maps.amx' loaded.
[16:12:54] 
----------------------------------
[16:12:54]  Hardcore Team-Deathmatch by Kitten
[16:12:54] ----------------------------------

[16:12:54] Number of vehicle models: 0
[16:13:15] Incoming connection: 127.0.0.1:57427
[16:13:15] [join] Kennedy has joined the server (0:127.0.0.1)
[16:17:34] [death] Kennedy died 255
[16:20:27] [part] Kennedy has left the server (0:1)
[16:20:28] -------- Server Shutting Down --------



Re: server shutting down after change weapons skills - Bingo - 17.04.2014

Integer uhm.

Your sscanf plugin is also not loaded, Make sure you have it inside your plugins folder.


Re: server shutting down after change weapons skills - Kanoru - 17.04.2014

Quote:
Originally Posted by Bingo
Посмотреть сообщение
Integer uhm.

Your sscanf plugin is also not loaded, Make sure you have it inside your plugins folder.
i check, if instead




Re: server shutting down after change weapons skills - Scrillex - 17.04.2014

Show code...


Re: server shutting down after change weapons skills - Kanoru - 17.04.2014

Quote:
Originally Posted by Scrillex
Посмотреть сообщение
Show code...
OnPlayerSpawn...

PHP код:
public OnPlayerSpawn(playerid)
{
    if(
gTeam[playerid] == TEAM_BLUE) {
        
TeamBlueSettings(playerid);
        
labelblue[playerid] = Create3DTextLabel("Team Blue",COLOR_WHITE30.040.050.040.00);
        
Attach3DTextLabelToPlayer(labelblue[playerid],playerid,0.00.00.7);
    }
    if(
gTeam[playerid] == TEAM_RED) {
        
TeamRedSettings(playerid);
        
labelred[playerid] = Create3DTextLabel("Team Red",COLOR_WHITE30.040.050.040.00);
        
Attach3DTextLabelToPlayer(labelred[playerid],playerid,0.00.00.7);
    }
    
ShowPlayerDialog(playerid,04041,DIALOG_STYLE_LIST,"{FF0000}Gun Shop","Desert Eagle ($5000)\nColt 45. ($2000)\nMP5-K MG ($5000)\nM4 ($10000)\nAK-47 ($9000)\nSpas12 Shotgun ($10000)\nTec-9 ($4000)\nSniper ($6000)\nArmour ($10000)","Accept","Cancel");
    
RandomWeather(playerid);
    
SendClientMessage(playerid,COLOR_WHITE,"Server: "COL_GREEN" You can also do /buy");
     
SetPlayerSkillLevel(playeridWEAPONSKILL_PISTOL999);
     
SetPlayerSkillLevel(playeridWEAPONSKILL_M4999);
     
SetPlayerSkillLevel(playeridWEAPONSKILL_AK47999);
     
SetPlayerSkillLevel(playeridWEAPONSKILL_SPAS12_SHOTGUN999);
     
SetPlayerSkillLevel(playeridWEAPONSKILL_SNIPERRIFLE999);
     
SetPlayerSkillLevel(playeridWEAPONSKILL_DESERT_EAGLE999);
     
SetPlayerSkillLevel(playeridWEAPONSKILL_MICRO_UZI999);
     
SetPlayerSkillLevel(playeridWEAPONSKILL_MP5999);
    
TextDrawShowForPlayer(playerid,Textdraw1);
    switch(
CurrentMap