SA-MP Forums Archive
help unknown server +1 rep for help-me - 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: help unknown server +1 rep for help-me (/showthread.php?tid=587354)



help unknown server +1 rep for help-me - DKDarkking - 30.08.2015

resolved


Re: help unknown server +1 rep for help-me - Logofero - 30.08.2015

PHP код:
public OnGameModeInit() 

    
SetTimer("hoursplaying"30*60*1000true); 
    
SetGameModeText("I like SAMP");
    return 
1




Re: help unknown server +1 rep for help-me - DKDarkking - 30.08.2015

Quote:
Originally Posted by Logofero
Посмотреть сообщение
PHP код:
public OnGameModeInit() 

    
SetTimer("hoursplaying"30*60*1000true); 
    
SetGameModeText("I like SAMP");
    return 
1

No fix my problem player spawm skin cj


Re: help unknown server +1 rep for help-me - Logofero - 30.08.2015

Quote:
Originally Posted by DKDarkking
Посмотреть сообщение
No fix my problem player spawm skin cj
PHP код:
// Change it
public OnPlayerRequestSpawn(playerid

    if(
pInfo[playerid][StatsSpawn] == 0
    { 
        
SendClientMessage(playeridCOLOR_ERROR"Spere carregar ai Viado!"); 
        return 
0
    } 
    return 
1

// Or UnUsed
public OnPlayerRequestSpawn(playerid

    return 
1




Re: help unknown server +1 rep for help-me - DKDarkking - 30.08.2015

Quote:
Originally Posted by Logofero
Посмотреть сообщение
PHP код:
// Change it
public OnPlayerRequestSpawn(playerid

    if(
pInfo[playerid][StatsSpawn] == 0
    { 
        
SendClientMessage(playeridCOLOR_ERROR"Spere carregar ai Viado!"); 
        return 
0
    } 
    return 
1

// Or UnUsed
public OnPlayerRequestSpawn(playerid

    return 
1

It has not been resolved


Re: help unknown server +1 rep for help-me - SpikY_ - 30.08.2015

Show me your server-log


Re: help unknown server +1 rep for help-me - DKDarkking - 30.08.2015

Quote:
Originally Posted by SpikY_
Посмотреть сообщение
Show me your server-log
PHP код:
---------- 
Loaded log file"server_log.txt"
---------- 
SA-MP Dedicated Server 
---------------------- 
v0.3.7, (C)2005-2015 SA-MP Team 
[08:40:51filterscripts ""  (string) 
[
08:40:51]  
[
08:40:51Server Plugins 
[08:40:51] -------------- 
[
08:40:51]  Loading pluginsscanf.dll 
[08:40:51]  
[
08:40:51]  =============================== 
[
08:40:51]       sscanf plugin loaded.      
[
08:40:51]    (c2009 Alex "******" Cole 
[08:40:51]    0.3d-R2 500 Players "dnee" 
[08:40:51]  =============================== 
[
08:40:51]   Loaded
[
08:40:51]  Loading pluginstreamer.dll 
[08:40:51]  
*** 
Streamer Plugin v2.6.1 by Incognito loaded *** 
[
08:40:51]   Loaded
[
08:40:51]  Loaded 2 plugins
[
08:40:52]  
[
08:40:52Ban list 
[
08:40:52] -------- 
[
08:40:52]  Loadedsamp.ban 
[08:40:52]  
[
08:40:52]  
[
08:40:52Filterscripts 
[08:40:52] --------------- 
[
08:40:52]   Loaded 0 filterscripts
[
08:40:52Number of vehicle models



Re: help unknown server +1 rep for help-me - 1nspire - 30.08.2015

You see those lines in your server.cfg ?

"sscanf.dll streamer.dll" change them to "Whirlpool.so sscanf.so streamer.so" and it should be good!

If you're not using Linux, just do it like that - "Whirlpool sscanf streamer".


Re: help unknown server +1 rep for help-me - DKDarkking - 30.08.2015

Quote:
Originally Posted by 1nspire
Посмотреть сообщение
You see those lines in your server.cfg ?

"sscanf.dll streamer.dll" change them to "Whirlpool.so sscanf.so streamer.so" and it should be good!

If you're not using Linux, just do it like that - "Whirlpool sscanf streamer".
brother i use vps windows


Re: help unknown server +1 rep for help-me - Threshold - 30.08.2015

First of all, AddPlayerClass needs to be under OnGameModeInit if you intend on spawning with skins other than CJ's skin.

https://sampwiki.blast.hk/wiki/AddPlayerClass

As before, you need to use SetGameModeText if you want to change the mode name.

https://sampwiki.blast.hk/wiki/SetGameModeText