Jump to content
  • 0

pomoc CRASH


RoBiK

Dotaz

Takže čaute. Mám taký problémisss že keď mám mód urobený, dám ho do gamemodes, spustim server,(samozrejme v server.cfg už to mam napísane), tak sa pripojím, dám ten príkaz čo som si tam pridal a server spadne, konzola sa vypne... prosím pomôžte ;)


či to nieje nejakou kompatibilitou či čo ;)

Link to comment
Share on other sites

18 odpovědí na tuto otázku

Recommended Posts

  • 0

niečo ešte poviem,.. robí mi to pri všetkom čo tam urobím.. a nieje to príkaz, bol to len príklad kedže mi to robí stále

CODE FUNKCIE:

public OnPlayerConnect(playerid)
{
	SCMTA(COL_RED,"Hráč %s sa pripojil na server");
	return 1;
}

neboj sa, hore mam zadefinovane: 

#define SCMTA SendClientMessageToAll

#define COL_RED 0xFF0000FF


takže nwm :(:d

Link to comment
Share on other sites

  • 0

plugin... žiadny

server.cfg:

echo Executing Server Config...
lanmode 0
rcon_password rcon
maxplayers 1
port 9999
hostname Moj test server PaWnO
gamemode0 MODIIIK
filterscripts
announce 0
query 1
chatlogging 0
weburl web
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
Link to comment
Share on other sites

  • 0

server log:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team

[16:32:21] filterscripts = ""  (string)
[32:21] 
[32:21] Server Plugins
[32:21] --------------
[32:21]  Loaded 0 plugins.

[32:21] 
[32:21] Filterscripts
[32:21] ---------------
[32:21]   Loaded 0 filterscripts.

[32:21] 
----------------------------------
[32:21] mod BY TRAY_PAWNO !
[32:21] ----------------------------------

[32:21] Number of vehicle models: 0
[32:39] Incoming connection: PIP
[32:40] [join] to$..tRaY.. has joined the server (PIP)

ale aj tak, robí to pri každom update


čo i len pridám príkaz

Link to comment
Share on other sites

  • 0

U všech příkazů máš: 

SCMTA(COL_RED,"Hráč %s použil bagetu !");
SCMTA(COL_RED,"Hráč %s použil lékarničku !");

tak se není čemu divit, že ti to padá.

Uprav všechno nějak takhle:

new str[128];
GetPlayerName(playerid,str,sizeof(str));
format(str, sizeof(str),"Hráč %s použil lékarničku !",str);
SCMTA(COL_RED,str);
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...