19.04.2010, 16:58
Код:
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;
}
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.


