[GameMode] [GM] Stunt Universe v0.5
#41

Код:
public OnPlayerConnect(playerid)
{
	F_OnPlayerConnect(playerid);

	Textdraw0 = TextDrawCreate(3.000000,344.000000,"s t u n t u n i v e r s e v0.5");
	TextDrawUseBox(Textdraw0,1);
	TextDrawBoxColor(Textdraw0,0x000000ff);
	TextDrawTextSize(Textdraw0,-1.000000,146.000000);
	TextDrawAlignment(Textdraw0,0);
	TextDrawBackgroundColor(Textdraw0,0x0000ff33);
	TextDrawFont(Textdraw0,3);
	TextDrawLetterSize(Textdraw0,0.299999,0.700000);
	TextDrawColor(Textdraw0,0xffffffff);
	TextDrawSetOutline(Textdraw0,1);
	TextDrawSetProportional(Textdraw0,1);
	TextDrawShowForPlayer(playerid, Text:Textdraw0);

  Checkgate = SetTimer("CheckGate", 1000, 1);
	lvwz = SetTimer("LVWZ", 1000, 1);

	SetPlayerMapIcon( playerid, 1, -3535.9673,-66.2674,2.1839, 5, 0); //Airport Admincastle
	SetPlayerMapIcon( playerid, 2, -3357.6938,-69.7644,123.2506, 19, 0); //Flag AdminCastle
	SetPlayerMapIcon( playerid, 3, -3284.2493,-125.4545,2.5392, 9, 0); //Boats AdminCastle
	SetPlayerMapIcon( playerid, 4, 2869.8384,-1749.3060,11.0444, 37, 0); //Secret Stuntzone
	SetPlayerMapIcon( playerid, 5, 1002.3448,-2291.4976,14.0816, 53, 0); //DragRace
	SetPlayerMapIcon( playerid, 6, 200.6568,2503.0281,16.4844, 5, 0); //AA
	SetPlayerMapIcon( playerid, 7, -468.6863,2207.8826,46.5093, 56, 0); //SpawnPoint
	SetPlayerMapIcon( playerid, 8, 314.3689,1906.3972,17.6406, 5, 0); //Airbattle (Area51)
	SetPlayerMapIcon( playerid, 9, 610.0776,1698.3099,6.9922, 51, 0); //Truck Stop
	SetPlayerMapIcon( playerid, 10, -1597.0704,-2727.6892,48.5391, 51, 0); //Truck Stop
	SetPlayerMapIcon( playerid, 11, -327.0811,1768.1223,42.7596, 51, 0); //Truck Stop
	SetPlayerMapIcon( playerid, 12, 1734.6804,-1944.9839,13.564, 48, 0); //Train Station
	SetPlayerMapIcon( playerid, 13, -1961.2306,138.1871,27.6875, 48, 0); //Train Station
	SetPlayerMapIcon( playerid, 14, 1433.2821,2651.9473,11.3926, 48, 0); //Train Station
	SetPlayerMapIcon( playerid, 15, 2841.9917,1290.7056,11.3906, 48, 0); //Train Station
	SetPlayerMapIcon( playerid, 16, -1433.4529,-956.0518,200.9836, 19, 0); //Flag Hideout

//	clock();

  new pName[MAX_PLAYER_NAME];
  new string[128];
  GetPlayerName(playerid, pName, sizeof(pName));
  format(string, sizeof(string), "%s has joined the server.", pName);
  SendClientMessageToAll(COLOR_GREY, string);

	if(!strcmp("[ViP]Labrik",pName,true) || !strcmp("netzeek",pName,true) || !strcmp("[MT]Lavis",pName,true))
	{
	  new kstring[128];
	  format(kstring, sizeof(kstring), "%s was auto kicked from the server (illegal name).", pName);
  	SendClientMessageToAll(COLOR_GREY, kstring);
  	print(kstring);
		Kick(playerid);
	}

  AllowPlayerTeleport(playerid, 0);

  BombArmed[playerid] = false;
	AntiFalloff[playerid] = false;
  DMZone[playerid] = 0;
  spawnplacechosen[playerid] = false;
  ReceiveInfo[playerid] = false;
  stupidjumpsfound[playerid] = 0;

	SendClientMessage(playerid, COLOR_BASIC, "Welcome to (Ї`·._.·[Stunt Universe]·._.·ґЇ) - Hosted by: Wesley");
	SendClientMessage(playerid, COLOR_BASIC, "Play fair, don't spam/cheat, etc.");
	SendClientMessage(playerid, COLOR_RED, "For more info, type /help.");
	SendClientMessage(playerid, COLOR_GREY, "( Scripted by: [WWG]Fallout ).");
	SendClientMessage(playerid, COLOR_GREY, "( Stunts made by: [WWG]Fallout - [XTC]Yeatric ).");
	SendClientMessage(playerid, COLOR_BASIC, "Last update: /RCWar renewed, tuned vehicles, new self-healing system and new animations.");
  return 1;
}
that's the full code, it should look like this :P
perhaps you deleted some lines
I know you didn't post the whole onplayerconnect here, but I give you the original one so that you can see if there are lines missing.
Reply


Messages In This Thread
[GM] Stunt Universe v0.5 - by ғαιιοцт - 30.12.2008, 13:51
Re: [GM] Stunt Universe 0.5 - by Serbish - 30.12.2008, 13:55
Re: [GM] Stunt Universe 0.5 - by ғαιιοцт - 30.12.2008, 13:56
Re: [GM] Stunt Universe v0.5 - by AF1CLAN - 30.12.2008, 18:25
Re: [GM] Stunt Universe v0.5 - by -John- - 30.12.2008, 18:58
Re: [GM] Stunt Universe v0.5 - by exhounter - 30.12.2008, 19:08
Re: [GM] Stunt Universe v0.5 - by LightFight™ - 30.12.2008, 21:19
Re: [GM] Stunt Universe v0.5 - by Serbish - 30.12.2008, 21:39
Re: [GM] Stunt Universe v0.5 - by brett7 - 30.12.2008, 22:11
Re: [GM] Stunt Universe v0.5 - by ғαιιοцт - 30.12.2008, 22:36
Re: [GM] Stunt Universe v0.5 - by C0ld_ - 31.12.2008, 02:47
Re: [GM] Stunt Universe v0.5 - by farse - 31.12.2008, 04:11
Re: [GM] Stunt Universe v0.5 - by s1mao_1 - 31.12.2008, 14:22
Re: [GM] Stunt Universe v0.5 - by Thehunter[SU] - 31.12.2008, 14:37
Re: [GM] Stunt Universe v0.5 - by R@f - 31.12.2008, 22:57
Re: [GM] Stunt Universe v0.5 - by Nummi - 01.01.2009, 09:31
Re: [GM] Stunt Universe v0.5 - by rafay - 01.01.2009, 10:06
Re: [GM] Stunt Universe v0.5 - by ғαιιοцт - 01.01.2009, 10:46
Re: [GM] Stunt Universe v0.5 - by Thehunter[SU] - 01.01.2009, 17:24
Re: [GM] Stunt Universe v0.5 - by Jese - 01.01.2009, 19:33
Re: [GM] Stunt Universe v0.5 - by Nimphious - 01.01.2009, 19:35
Re: [GM] Stunt Universe v0.5 - by ғαιιοцт - 01.01.2009, 19:43
Re: [GM] Stunt Universe v0.5 - by Nimphious - 01.01.2009, 19:50
Re: [GM] Stunt Universe v0.5 - by Mozzy - 02.01.2009, 11:07
Re: [GM] Stunt Universe v0.5 - by Serbish - 02.01.2009, 11:16
Re: [GM] Stunt Universe v0.5 - by Rozzie - 02.01.2009, 11:40
Re: [GM] Stunt Universe v0.5 - by Thief_ - 19.01.2009, 19:13
Re: [GM] Stunt Universe v0.5 - by Thief_ - 19.01.2009, 19:14
Re: [GM] Stunt Universe v0.5 - by Thief_ - 19.01.2009, 19:15
Re: [GM] Stunt Universe v0.5 - by SPFoxy - 19.01.2009, 19:22
Re: [GM] Stunt Universe v0.5 - by ғαιιοцт - 19.01.2009, 19:33
Re: [GM] Stunt Universe v0.5 - by Thief_ - 19.01.2009, 19:42
Re: [GM] Stunt Universe v0.5 - by SPFoxy - 19.01.2009, 19:43
Re: [GM] Stunt Universe v0.5 - by ғαιιοцт - 19.01.2009, 19:46
Re: [GM] Stunt Universe v0.5 - by Thief_ - 19.01.2009, 19:59
Re: [GM] Stunt Universe v0.5 - by SPFoxy - 19.01.2009, 20:00
Re: [GM] Stunt Universe v0.5 - by ғαιιοцт - 17.04.2010, 15:28
Re: [GM] Stunt Universe v0.5 - by FUNExtreme - 17.04.2010, 17:33
Re: [GM] Stunt Universe v0.5 - by ғαιιοцт - 17.04.2010, 17:43
Re: [GM] Stunt Universe v0.5 - by MeBilly - 18.04.2010, 18:49
Re: [GM] Stunt Universe v0.5 - by ғαιιοцт - 19.04.2010, 16:58
Re: [GM] Stunt Universe v0.5 - by [AC]Flow - 09.05.2010, 01:24
Re: [GM] Stunt Universe v0.5 - by David-Sean - 09.05.2010, 18:01
Re: [GM] Stunt Universe v0.5 - by [AC]Flow - 11.05.2010, 07:28
Re: [GM] Stunt Universe v0.5 - by pichai1122 - 11.05.2010, 07:38
Re: [GM] Stunt Universe v0.5 - by Cedimedi - 11.05.2010, 08:20
Re: [GM] Stunt Universe v0.5 - by [BADBOY] - 23.06.2010, 17:03
Re: [GM] Stunt Universe v0.5 - by andreyeu2007 - 24.06.2010, 08:50
Re: [GM] Stunt Universe v0.5 - by MuchoBroRus - 07.07.2010, 08:39
Re: [GM] Stunt Universe v0.5 - by RiCkAo98 - 31.05.2011, 17:22
Re: [GM] Stunt Universe v0.5 - by m2pk1 - 23.06.2011, 01:03
Re: [GM] Stunt Universe v0.5 - by Kronkie007 - 23.06.2011, 14:14
AW: [GM] Stunt Universe v0.5 - by Forbidden - 23.06.2011, 15:17
Re: [GM] Stunt Universe v0.5 - by Damon_NL - 10.08.2011, 17:51
Re: [GM] Stunt Universe v0.5 - by Damon_NL - 14.08.2011, 15:34
Re: [GM] Stunt Universe v0.5 - by Xtreme_playa - 14.08.2011, 15:37
Re: [GM] Stunt Universe v0.5 - by Damon_NL - 16.08.2011, 11:14
Re: [GM] Stunt Universe v0.5 - by astercholik - 16.08.2011, 15:36
Re: [GM] Stunt Universe v0.5 - by SampzzonE - 08.02.2013, 17:05
Re: [GM] Stunt Universe v0.5 - by kiss - 08.02.2013, 18:07
Re: [GM] Stunt Universe v0.5 - by kvsolga - 09.02.2013, 17:51
Re: [GM] Stunt Universe v0.5 - by Awab - 24.02.2013, 13:40
Re: [GM] Stunt Universe v0.5 - by Neonman - 24.02.2013, 18:58
Re: [GM] Stunt Universe v0.5 - by VladimirMark - 23.06.2014, 19:25
Re: [GM] Stunt Universe v0.5 - by Trudix - 10.07.2014, 10:05
Re: [GM] Stunt Universe v0.5 - by player94 - 10.07.2014, 10:09
Re: [GM] Stunt Universe v0.5 - by [SU]Spartan - 13.07.2014, 07:38

Forum Jump:


Users browsing this thread: 1 Guest(s)