Jump to content
  • 0

Host


Ph0eniX

Question

Salutare la toti , am constatat ca am o mica problema la servarul de SA:MP , este pus pe host cand intru pe server nu ma lasa sa folosesc nicio comanda , nu scrie nimica nu se intampla nimica , ca si cum nu as fi scri vreo comanda . Are vreo importanta asta cu sscanf-ul ? Daca da , spunetimi si mie stock-ul de la latest version of sscanf . Mersi.

EDIT: Server log

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

SA-MP Dedicated Server
----------------------
v0.3x, (C)2005-2013 SA-MP Team

[13:13:47] weburl = "www.sa-mp.com"  (string)
[13:13:47] 
[13:13:47] Server Plugins
[13:13:47] --------------
[13:13:47]  Loading plugin: crashdetect.so
[13:13:47]   CrashDetect v4.12 is OK.
[13:13:47]   Loaded.
[13:13:47]  Loading plugin: sscanf.so
[13:13:47] 

[13:13:47]  ===============================

[13:13:47]       sscanf plugin loaded.     

[13:13:47]          Version:  2.8.1        

[13:13:47]    (c) 2012 Alex "Y_Less" Cole  

[13:13:47]  ===============================

[13:13:47]   Loaded.
[13:13:47]  Loading plugin: streamer.so
[13:13:47] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[13:13:47]   Loaded.
[13:13:47]  Loading plugin: gvar.so
[13:13:47] 

*** GVar Plugin v1.3 by Incognito loaded ***

[13:13:47]   Loaded.
[13:13:47]  Loaded 4 plugins.

[13:13:47] 
[13:13:47] Filterscripts
[13:13:47] ---------------
[13:13:47]   Loading filterscript 'LuxAdmin.amx'...
[13:13:47] BUD v1.0.3 BETA loaded.
[13:13:47] 
 ---------------------------------------------------
[13:13:47]  -> Loading Romania Game Stunt v1...

[13:13:48]  -> Romania Game Stunt - Loaded Successfully!

[13:13:48]  -> Date: 9/1/2014 - Time: 13:13:48
[13:13:48]  ---------------------------------------------------

[13:13:48]   Loading filterscript 'Adminhouse.amx'...
[13:13:48]   Loading filterscript 'streamermap.amx'...
[13:13:48] 

[13:13:48]   Loaded 3 filterscripts.

[13:13:48] Number of vehicle models: 16

am adaugat sscanf , dar nu merge nicio comanda ce pot face?

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

am spus ca merge TOTU PERFECT doar comenzile nu merg...:| nu spune "unknown command" arata ca si cum nu as fi folosit nicio comanda

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

Serverul foloseste ZCMD ca si procesor de comenzi ?

da

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

UP + say:D srry 4 2x post

Am descoperit ca doar in LuxAdmin nu merg comenzile , la GM  sau alt FS functioneaza comenzile , cand adaug LuxAdmin'u nu mai functioneaza nici-o comanda . Ce pot sai fac? cu sscanf 0.3d functiona bine cu 0.3x de loc..

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

Up +....

Am gasit problema de la care era :) e de la asta....

public OnPlayerCommandReceived(playerid, cmdtext[])
{
	if(AccInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid, red, "Sorry, but, you must be {00BBF6}Logged In{FF0000} to use Commands!");
	//--------------------------------------------------------------------------
    if(GetPVarInt(playerid, "Jailed") == 1 && AccInfo[playerid][Level] < 10)
	{
		SendClientMessage(playerid,red,"ERROR: You cannot use commands in Jail!");
		return 1;
	}
	//--------------------------------------------------------------------------
	if(GetPVarInt(playerid, "PlayerInDM") == 1 || GetPVarInt(playerid, "PlayerInRace") == 1)
	{
		if(strcmp(cmdtext, "/leave", 		true) == 0) 		return 0;
		if(strcmp(cmdtext, "/exitrace", 	true) == 0)         return 0;
		if(strcmp(cmdtext, "/stats", 		true) == 0) 		return 0;
		if(strcmp(cmdtext, "/acmds",		true) == 0) 		return 0;
		if(strcmp(cmdtext, "/explode", 		true) == 0) 		return 0;
		if(strcmp(cmdtext, "/report",   	true) == 0)         return 0;
 		else GameTextForPlayer(playerid, "~w~Use ~r~/Leave~w~ to leave!", 6000, 4);
 		return 1;
	}
	//--------------------------------------------------------------------------
	if(AccInfo[playerid][BRBSts] == 1)
	{
 		if(strcmp(cmdtext, "/back", true) == 0) return 0;
  	  	else GameTextForPlayer(playerid, "~w~Use ~r~/Back~w~ to return!", 4000, 4);
		return 1;
	}
	return 0;
}

ce ii pot face sa adaug si asta...da fara sa mai f*** menta sa nu mai pot folosi nicio comanda ?

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.