[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
#42

ay can u plz tell me how do u make a teleport menu after walking past the icon??
Reply
#43

i'm like stunt server..
Reply
#44

tnx but how do i set it up?
do i need to put it in gm or is it a fs?
Reply
#45

very nice
Reply
#46

Quote:
Originally Posted by [AC
Flow ]
tnx but how do i set it up?
do i need to put it in gm or is it a fs?
add as gamemode. You see that in the title
Reply
#47

Ye welldone fantastic!
Reply
#48

Awsome ! GM
Reply
#49

awesome!!!!
Reply
#50

Hey man i press the compile and it shows me that error :fatal error 100: cannot read from file: "a_samp".What can i do for that?It doesn't make .amx,please help.
Reply
#51

i cant see the jumps . what happen?
Reply
#52

how to add an admin?
Reply
#53

Old and good ,well done XD
Reply
#54

Hi i got a big problem...
All the commands don't work!!
Does someone knows how to fix it?
My version is 0.3c R5
Reply
#55

Quote:
Originally Posted by Damon_NL
View Post
Hi i got a big problem...
All the commands don't work!!
Does someone knows how to fix it?
My version is 0.3c R5
I have fixed it already, there was a conflict between an other FilterScript
But now i have one question: The port to the AdminCastle won't go open...
Does enyone how to fix it?
Reply
#56

Quote:
Originally Posted by Damon_NL
View Post
I have fixed it already, there was a conflict between an other FilterScript
But now i have one question: The port to the AdminCastle won't go open...
Does enyone how to fix it?
why dont u ask Fallout ? he scripted the gm.
Reply
#57

I have done that, i have still no answer
Reply
#58

Im have problem

Code:
C:\Users\Astercholik\Desktop\samp03csvr_R2-2_win32\gamemodes\SU.pwn(214) : error 017: undefined symbol "SetDisabledWeapons"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Code:
Code:
SetDisabledWeapons(43,44,45);
Reply
#59

nice work
Reply
#60

good gm bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)