SA-MP Forums Archive
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 Me (/showthread.php?tid=385320)



Help Me - rapister - 15.10.2012

hello Guys. idk why but i can't Enter in My CnR.at 1 time Only 1 Player Can Enter In.i invite my friend in my Cnr when he logged in then i am also try to enter my CnR and i got Automatically Kicked.

My Server.cfg fille

Код:
echo Executing Server Config...
lanmode 0
rcon_password ******
maxplayers 50
port 7777
hostname Rapister
gamemode0 sfcrrpg 1
filterscripts Luxadmin House Business VIP 
plugins irc streamer sscanf whirlpool
announce 0
query 1
weburl www.sfcrrpg.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 1
logtimeformat [%H:%M:%S]
Please help


Re: Help Me - rapister - 15.10.2012

Anyone Reply PLease


Re: Help Me - Roel - 15.10.2012

Show the OnPlayerConnect.


Re: Help Me - rapister - 15.10.2012

Код:
public OnPlayerConnect(playerid)
{
	if(IsPlayerNPC(playerid)) return 1;

	new string[128];
    new pname[24];
    
    //Variables
    zoneupdates[playerid] =1;

	//Connect Messages
	format(string,sizeof(string),"Welcome to %s v%s!",svname,sversion);
	SendClientMessage(playerid,COLOR_WHITE,string);
	format(string,sizeof(string),"We have many fun things for you to do here in %s",sabbv);
	SendClientMessage(playerid,COLOR_ROYALBLUE,string);
	SendClientMessage(playerid,COLOR_LIME,"Please remember to abide by our server /rules at all times");
	SendClientMessage(playerid,COLOR_GREEN,"If you have any problems feel free to /report them to the Administrators online");
	
	//Player Join message
	GetPlayerName(playerid,pname,sizeof(pname));
	format(string,sizeof(string),"%s(%d) Has joined %s v%s!",pname,playerid,svname,sversion);
	SendClientMessageToAll(COLOR_VIOLETBLUE,string);
	format(string,sizeof(string),"6%s(%d) Has joined %s v%s!",pname,playerid,svname,sversion);
	IRC_Say(gGroupID,IRC_CHANNEL,string);
	SetPlayerColor(playerid,COLOR_DEADCONNECT);

	//Do things to the player
	JailTimer[playerid] = TextDrawCreate(505.000000, 411.000000, "Jailtime: 180");
	TextDrawBackgroundColor(JailTimer[playerid], -1);
	TextDrawFont(JailTimer[playerid], 3);
	TextDrawLetterSize(JailTimer[playerid], 0.529999, 1.299999);
	TextDrawColor(JailTimer[playerid], 65535);
	TextDrawSetOutline(JailTimer[playerid], 1);
	TextDrawSetProportional(JailTimer[playerid], 1);
	TextDrawUseBox(JailTimer[playerid], 1);
	TextDrawBoxColor(JailTimer[playerid], 255);
	TextDrawTextSize(JailTimer[playerid], 633.000000, 0.000000);
	
	MessageTD[playerid] = TextDrawCreate(241.000000, 410.000000, "TICKET RECIEVED");
	TextDrawBackgroundColor(MessageTD[playerid], 255);
	TextDrawFont(MessageTD[playerid], 1);
	TextDrawLetterSize(MessageTD[playerid], 0.549999, 1.500000);
	TextDrawColor(MessageTD[playerid], -1);
	TextDrawSetOutline(MessageTD[playerid], 0);
	TextDrawSetProportional(MessageTD[playerid], 1);
	TextDrawSetShadow(MessageTD[playerid], 1);
	TextDrawUseBox(MessageTD[playerid], 1);
	TextDrawBoxColor(MessageTD[playerid], 255);
	TextDrawTextSize(MessageTD[playerid], 384.000000, 0.000000);
	
	LocationTD[playerid] = TextDrawCreate(43.000000, 327.000000, "Downtown");
	TextDrawBackgroundColor(LocationTD[playerid], 255);
	TextDrawFont(LocationTD[playerid], 1);
	TextDrawLetterSize(LocationTD[playerid], 0.500000, 1.000000);
	TextDrawColor(LocationTD[playerid], -1);
	TextDrawSetOutline(LocationTD[playerid], 0);
	TextDrawSetProportional(LocationTD[playerid], 1);
	TextDrawSetShadow(LocationTD[playerid], 1);
	
	format(string,sizeof(string),"Version: %s",sversion);
	TextDrawSetString(VersionTD,string);
	TextDrawShowForPlayer(playerid,VersionTD);
	TextDrawShowForPlayer(playerid,WebsiteTD);
	TogglePlayerClock(playerid,1);



Re: Help Me - Roel - 15.10.2012

When you connect does it show you the welcome message before you get kicked?


Re: Help Me - HyDrAtIc - 15.10.2012

You a missing a file in the "scriptfiles" folder just create a folder there and name it "SFCRRPG",that should have fixed,if still did not work,then re-download again.


Re: Help Me - Roel - 15.10.2012

ah fack, that's why I don't like to help people with downloaded gamemodes...
And normaly the whole server crashs when there are missing folders inside scriptfiles, but I don't know about the scirpt so whatever I'm gone here lol.


Re: Help Me - rapister - 15.10.2012

Quote:
Originally Posted by James_Nick
Посмотреть сообщение
You a missing a file in the "scriptfiles" folder just create a folder there and name it "SFCRRPG",that should have fixed,if still did not work,then re-download again.
i didn't missing Any Folder!

@Roel Look this Pic




Re: Help Me - Randy More - 15.10.2012

Press Ctrl+F in pawno and search for "Please Login to access your Account (/login)" and get me the code below it.


Re: Help Me - rapister - 15.10.2012

i Can't Found it!

But when i Banned "Billy the tram Driver" then i am Able to Acces in My Server But Anyone can't come in it!

When Joined Player Got Kicked thenAnd i Got this Message on IRC
it's Says "(1) Joined RapisteR's Cops And Robbers"