help unknown server +1 rep for help-me
#1

resolved
Reply
#2

PHP код:
public OnGameModeInit() 
{ 
    
SetTimer("hoursplaying", 30*60*1000, true); 
    
SetGameModeText("I like SAMP");
    return 
1; 
} 
Reply
#3

Quote:
Originally Posted by Logofero
Посмотреть сообщение
PHP код:
public OnGameModeInit() 
{ 
    
SetTimer("hoursplaying", 30*60*1000, true); 
    
SetGameModeText("I like SAMP");
    return 
1; 
} 
No fix my problem player spawm skin cj
Reply
#4

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(playerid, COLOR_ERROR, "Spere carregar ai Viado!"); 
        return 
0; 
    } 
    return 
1; 
} 
// Or UnUsed
public OnPlayerRequestSpawn(playerid) 
{ 
    return 
1; 
} 
Reply
#5

Quote:
Originally Posted by Logofero
Посмотреть сообщение
PHP код:
// Change it
public OnPlayerRequestSpawn(playerid) 
{ 
    if(
pInfo[playerid][StatsSpawn] == 0) 
    { 
        
SendClientMessage(playerid, COLOR_ERROR, "Spere carregar ai Viado!"); 
        return 
0; 
    } 
    return 
1; 
} 
// Or UnUsed
public OnPlayerRequestSpawn(playerid) 
{ 
    return 
1; 
} 
It has not been resolved
Reply
#6

Show me your server-log
Reply
#7

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:51] filterscripts = ""  (string) 
[
08:40:51]  
[
08:40:51] Server Plugins 
[08:40:51] -------------- 
[
08:40:51]  Loading plugin: sscanf.dll 
[08:40:51]  
[
08:40:51]  =============================== 
[
08:40:51]       sscanf plugin loaded.      
[
08:40:51]    (c) 2009 Alex "******" Cole 
[08:40:51]    0.3d-R2 500 Players "dnee" 
[08:40:51]  =============================== 
[
08:40:51]   Loaded. 
[
08:40:51]  Loading plugin: streamer.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:52] Ban list 
[
08:40:52] -------- 
[
08:40:52]  Loaded: samp.ban 
[08:40:52]  
[
08:40:52]  
[
08:40:52] Filterscripts 
[08:40:52] --------------- 
[
08:40:52]   Loaded 0 filterscripts. 
[
08:40:52] Number of vehicle models: 0 
Reply
#8

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".
Reply
#9

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
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)