#1

Hello

Can anyone tell me if i have done something wrong here

Код:
// This command displays the rules of the server
COMMAND:rules(playerid, params[])
{
	// Setup local variables
	new Msg[2000];

	// Send the command to all admins so they can see it
	SendAdminText(playerid, "/rules", params);

	// Check if the player has logged in
	if (APlayerData[playerid][LoggedIn] == true)
	{
		format(Msg, 2000, "%s1. No fighting, no killing, no ramming or carjacking!\n", Msg);
		format(Msg, 2000, "%s2. Teleport, weapons,airbreak,speedhack and other cheats are not allowed.\n",Msg);
		format(Msg, 2000, "%s3. No flooding or spamming of chat, no advertising.\n", Msg);
		format(Msg, 2000, "%s4. No glitching or lagging mods.\n", Msg);
		format(Msg, 2000, "%s5. Main chat only english.\n", Msg);
		format(Msg, 2000, "%s6. Respect other players. Abusive lanuage is not allowed.\n", Msg);
		format(Msg, 2000, "%s7. Glitching/ bugged vehicles modifications are not allowed.\n", Msg);
		format(Msg, 2000, "%s8. Do not ask for money/ house/ cars or score earn everything by yourself.\n",Msg);
		format(Msg, 2000, "%s9. Do not PM admins for no good reason. Use forum instead.\n", Msg);
		format(Msg, 2000, "%s10. Any bugs should be reported to admins or in forum. Don't exploit bugs!\n",Msg);
		format(Msg, 2000, "Vist www.uktrucking.co.nr for more explicit rules, driving rules etc.\n", Msg);
		format(Msg, 2000, "Anyone breaking the rules will be banned.\n", Msg);
	    // Show a dialog that shows the rules
		ShowPlayerDialog(playerid, DialogRules, DIALOG_STYLE_MSGBOX, "Rules of the server:", Msg, "Accept", TXT_DialogButtonCancel);
	}
	else
	    return 0;

	// Let the server know that this was a valid command
	return 1;
}
Picture when i type /rules



Thanks
Reply


Messages In This Thread
Help - by Trucker[UK] - 24.09.2011, 16:21
Re: Help - by array13 - 24.09.2011, 16:25
Re: Help - by Trucker[UK] - 24.09.2011, 16:26
AW: Help - by Nero_3D - 24.09.2011, 16:32
Re: Help - by aRoach - 24.09.2011, 16:33
Re: Help - by Trucker[UK] - 24.09.2011, 16:40
Re: Help - by aRoach - 24.09.2011, 16:49
Re: Help - by Trucker[UK] - 24.09.2011, 17:17
Re: Help - by Trucker[UK] - 24.09.2011, 17:26
Re: Help - by Trucker[UK] - 24.09.2011, 18:05

Forum Jump:


Users browsing this thread: 1 Guest(s)