Tessék:
[pawn]public OnPlayerConnect(playerid)
{
for(new x = 0; x < 100; x++) SendClientMessage(playerid, 0x00000000, \" \");
SendClientMessage(playerid, COLOR_LIME, \" ======= Szerver betöltése folyamatban... Kérlek várj türelemmel... =======\");
SetPlayerSkin(playerid,500);
//FadePlayerConnect(playerid);
AJSzovegIdo[playerid] = 10; AJSzoveg[playerid] = 0; AJSzovegHiba[playerid] = 0;
Felberelve[playerid] = NINCS; FelberelveOsszeg[playerid] = NINCS;
AC_Figyelmeztetes[playerid] = 0; Fegyver[playerid] = {false, false, false, false, false, false, false, false, false, false, false, false}; Tolteny[playerid] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
Sisak[playerid] = 0; SisakotVesz[playerid] = 0;
#if defined ClintCucc
JelzesBeallitas(playerid, 0);
#endif
Katonabazis[playerid] = 0;
Sokkolonala[playerid] = 0;
Sokkolojavan[playerid] = 0;
Aukciozik[playerid] = false; Harcol[playerid] = false; HarcolTerulet[playerid] = NINCS; Tamasi[playerid] = false; AJSzokesek[playerid] = 0; KocsitSokkolt[playerid] = 0;
Rejtett[playerid] = 0; PlayerInfo[playerid][pJelzes] = 0; PlayerInfo[playerid][pJelzesIdo] = 0; Varosban[playerid] = false; Ugrasok[playerid] = {0,0,0}; TaxiHivas[playerid] = 0; MentoHivas[playerid] = 0;
Vizsgafajta[playerid] = 0; AnimIdo[playerid] = 0; SzemBekotve[playerid] = 0; SzajBekotve[playerid] = 0; JatekBetoltve[playerid] = false; Licitalt[playerid] = false;
OvFlood[playerid] = 0; SebessegKorlat[playerid] = 0; Szunet[playerid] = false; SzunetIdo[playerid] = 0; Fbios[playerid] = NINCS; Hazbanvan[playerid] = 0;
Nyomozott[playerid] = 0; JarmuKulcs[playerid] = NINCS; HazKulcs[playerid] = NINCS; NPC_ID[playerid] = NINCS;
Sokkolt[playerid] = 0; Leutott[playerid] = 0; Leutve[playerid] = false; LeutveIdo[playerid] = 0; BelepesIdo[playerid] = 0; TrafiPax[playerid][tAktiv] = false; TrafiPax[playerid][tBuntetheto] = 0; Tankol[playerid][0] = 0; Kilepesek[playerid] = true;
JatekosZsak[playerid] = NINCS; BenzintSzallit[playerid] = false; PlayerOnline[playerid] = true;
HolTart[playerid] = NINCS; Tszin[playerid] = NINCS; Tkerek[playerid] = NINCS; Csere[playerid] = NINCS; MitCsere[playerid] = NINCS; AdminSzint[playerid] = 0; SzefEngedely[playerid] = 0;
RadioHallgatas[playerid] = NINCS; LezartUtat[playerid] = 0; LezartUtZ[playerid] = 0.000000; LezartUtY[playerid] = 0.000000; LezartUtX[playerid] = 0.000000;
/*MenyiABenzinAra[playerid] = NINCS; MenyitTankol[playerid] = NINCS; Tankol[playerid] = 0;*/
UresUveg[playerid] = 0; KiMergezte[playerid] = NINCS; Mergezve[playerid] = 0; VanSzelvenye[playerid] = 0; talalatok[playerid] = 0;
PSzam5[playerid] = 0; PSzam6[playerid] = 0; PSzam7[playerid] = 0; PSzam8[playerid] = 0;
PSzam1[playerid] = 0; PSzam2[playerid] = 0; PSzam3[playerid] = 0; PSzam4[playerid] = 0;
TudReportolni[playerid] = 0; Locsolas[playerid] = NINCS; Locsolniakar[playerid] = NINCS;
BViadal[playerid] = 0; Nevek[playerid] = 0; Biztos[playerid] = 0; Belepve[playerid] = 0; Fbicelpont[playerid] = NINCS;
PrivatEngedely[playerid] = NINCS; PrivatAr[playerid] = NINCS; PrivatAjanlat[playerid] = NINCS; VizsgaAr[playerid] = 0; VizsgaAjanlat[playerid] = NINCS; C4Kocsiban[playerid] = NINCS; C4Z[playerid] = 0.000000; C4Y[playerid] = 0.000000; C4X[playerid] = 0.000000; C4Lerakva[playerid] = 0;
CsatlakozottSzamla[playerid] = NINCS; Szondaztat[playerid] = NINCS; KereskedoKocsiElad[playerid] = NINCS; KereskedoKocsiVetel[playerid] = NINCS; Rabol[playerid] = 0; //Tankol[playerid] = 0;
Edzik[playerid] = 0; TanultStilus[playerid] = 0; AdasVeteliNeki[playerid] = NINCS; AdasVeteliTipus[playerid] = NINCS; MostLepettBe[playerid] = 1; AdminJelszoMegadva[playerid] = 0; Fegyvere[playerid] = 0;
HitmanDuty[playerid] = 0; HibasBelepes[playerid] = 0; tuningolo[playerid] = 0; //ov[playerid] = 0;
reporttiltva[playerid] = 0; FelujitasElfogadas[playerid] = NINCS; RegEngedely[playerid] = 0; RegAdatok[playerid] = 0;
ElsoSpawn[playerid] = 1; Dialog[playerid] = -1; AFKIdo[playerid] = 0; AdminDuty[playerid] = 0;
AFK[playerid] = 0; Visz[playerid] = NINCS; Engedely[playerid] = 0; LopasProbalkozas[playerid] = 0;
SelectChar[playerid] = 0; HidePM[playerid] = 0; PhoneOnline[playerid] = 0;
SelectCharID[playerid] = 0; SelectCharPlace[playerid] = 0; ChosenSkin[playerid] = 0;
GettingJob[playerid] = 0; GuardOffer[playerid] = 999; GuardPrice[playerid] = 0;
ApprovedLawyer[playerid] = 0; CallLawyer[playerid] = 0; WantLawyer[playerid] = 0;
KickPlayer[playerid] = 0; CurrentMoney[playerid] = 0; UsedFind[playerid] = 0;
CP[playerid] = 0; Robbed[playerid] = 0; Autocp[playerid] = 0; Repulocp[playerid] = 0; Hajocp[playerid] = 0; Kamioncp[playerid] = 0; Motorcp[playerid] = 0; Jogsineki[playerid] = NINCS; Tanulofelpenz[playerid] = 0;
CarOffer[playerid] = 999; CarPrice[playerid] = 0; CarID[playerid] = 0; CarCalls[playerid] = 0;
RobbedTime[playerid] = 0; MoneyMessage[playerid] = 0; Condom[playerid] = 0;
STDPlayer[playerid] = 0; SexOffer[playerid] = 999; SexPrice[playerid] = 0;
RepairOffer[playerid] = 999; RepairPrice[playerid] = 0; RepairCar[playerid] = 0;
TalkingLive[playerid] = 255; LiveOffer[playerid] = 999; TakingLesson[playerid] = 0;
RefillOffer[playerid] = 999; RefillPrice[playerid] = 0; MapIconsShown[playerid] = 0;
DrugOffer[playerid] = 999; PlayerCuffed[playerid] = 0; PlayerCuffedTime[playerid] = 0;
DrugPrice[playerid] = 0; RegistrationStep[playerid] = 0; OnCK[playerid] = 999;
DrugGram[playerid] = 0; ConnectedToPC[playerid] = 0; OrderReady[playerid] = 0; HitmanRendeles[playerid] = 0;
MedicTime[playerid] = 0; NeedMedicTime[playerid] = 0; MedicBill[playerid] = 0;
WantedPoints[playerid] = 0; PlacedNews[playerid] = 0; skine[playerid] = 0; fegyvere[playerid] = 0;
OnDuty[playerid] = 0; WantedLevel[playerid] = 0; TestFishes[playerid] = 0;
BoxWaitTime[playerid] = 0; SchoolSpawn[playerid] = 0; ChangePos2[playerid][1] = 0;
SafeTime[playerid] = 60; TransportDuty[playerid] = 0; PlayerTied[playerid] = 0;
BusCallTime[playerid] = 0; TaxiCallTime[playerid] = 0; MedicCallTime[playerid] = 0; MechanicCallTime[playerid] = 0;
FindTimePoints[playerid] = 0; FindTime[playerid] = 0; JobDuty[playerid] = 0;
Mobile[playerid] = 255; Music[playerid] = 0; BoxOffer[playerid] = 999; PlayerBoxing[playerid] = 0;
Spectate[playerid] = 255; PlayerDrunk[playerid] = 0; PlayerDrunkTime[playerid] = 0;
Unspec[playerid][sLocal] = 255; FishCount[playerid] = 0;
WritingPaper[playerid] = 0; WritingPaperNumber[playerid] = 999; WritingLine[playerid] = 0; BringingPaper[playerid] = 0; GotPaper[playerid] = 0;
PaperOffer[playerid] = 999; ConsumingMoney[playerid] = 0;
gLastCar[playerid] = 0; FirstSpawn[playerid] = 0; gBooc[playerid] = 0; gBoocszidas[playerid] = 0;
gOoc[playerid] = 0; gNews[playerid] = 0; BigEar[playerid] = 0; gDice[playerid] = 0; gFam[playerid] = 0; gReport[playerid] = 0; gInfo[playerid] = 0;
gSpeedo[playerid] = 0; gGas[playerid] = 1; roadblock[playerid] = 0; block[playerid] = NINCS;
gPlayerLogged[playerid] = 0; gPlayerLogTries[playerid] = 0; gPlayerAccount[playerid] = 0;
gPlayerSpawned[playerid] = 0; PlayerKarting[playerid] = 0; PlayerInKart[playerid] = 0;
PlayerStoned[playerid] = 0;
StartTime[playerid] = 0; TicketOffer[playerid] = 999; TicketMoney[playerid] = 0;
TutTime[playerid] = 0; Drogozott[playerid] = 0; Animban[playerid] = 0; Animbanemrakhato[playerid] = 1; MunkaFelvetel[playerid] = 0;
NevvaltasiEngedely[playerid] = 0; Skinsel[playerid] = 0; MunkaFolyamatban[playerid] = 0; Adminseged[playerid] = 0;
gPlayerMission[playerid] = 0; TaxiAccepted[playerid] = 999; BusAccepted[playerid] = 999;
PlayerInfo[playerid][pCash] = dollah; NoFuel[playerid] = 0;
HireCar[playerid] = NINCS; PlayersChannel[playerid] = 999;
TransportValue[playerid] = 0; TransportMoney[playerid] = 0; TransportTime[playerid] = 0; TransportCost[playerid] = 0; TransportDriver[playerid] = 999;
Locator[playerid] = 0; PlayerOnMission[playerid] = 0; MissionCheckpoint[playerid] = 0;
Tevezik[playerid] = NINCS; Tevezve[playerid] = NINCS; PlayerPaintballing[playerid] = 0; PlayerPaintballKills[playerid] = 0;
Fishes[playerid][pLastFish] = 0; Fishes[playerid][pFishID] = 0;
ProposeOffer[playerid] = 999; MarryWitness[playerid] = 999; MarryWitnessOffer[playerid] = 999; MarriageCeremoney[playerid] = 0; ProposedTo[playerid] = 999; GotProposedBy[playerid] = 999; DivorceOffer[playerid] = 999;
PlayerInfo[playerid][pLevel] = 0;
PlayerInfo[playerid][pAdmin] = 0;
PlayerInfo[playerid][pDonateRank] = 0;
PlayerInfo[playerid][gPupgrade] = 0;
PlayerInfo[playerid][pConnectTime] = -1;
PlayerInfo[playerid][pSex] = 0;
PlayerInfo[playerid][pAge] = 0;
PlayerInfo[playerid][pOrigin] = 0;
PlayerInfo[playerid][pExp] = 0;
PlayerInfo[playerid][pAccount] = 0;
PlayerInfo[playerid][pCrimes] = 0;
PlayerInfo[playerid][pDeaths] = 0;
PlayerInfo[playerid][pArrested] = 0;
PlayerInfo[playerid][pWantedDeaths] = 0;
PlayerInfo[playerid][pPhoneBook] = 0;
PlayerInfo[playerid][pLottoNr] = 0;
PlayerInfo[playerid][pFishes] = 0;
PlayerInfo[playerid][pBiggestFish] = 0;
PlayerInfo[playerid][pJob1] = 0;
PlayerInfo[playerid][pJob2] = 0;
PlayerInfo[playerid][pPayCheck] = 0;
PlayerInfo[playerid][pHeadValue] = 0;
PlayerInfo[playerid][pJailed] = 0;
PlayerInfo[playerid][pJailTime] = 0;
PlayerInfo[playerid][pMats] = 0;
PlayerInfo[playerid][pKokain] = 0;
PlayerInfo[playerid][pHeroin] = 0;
PlayerInfo[playerid][pMarihuana] = 0;
PlayerInfo[playerid][pLeader] = 0;
PlayerInfo[playerid][pMember] = 0;
PlayerInfo[playerid][pRank] = 0;
PlayerInfo[playerid][pChar] = 0;
PlayerInfo[playerid][pContractTime] = 0;
PlayerInfo[playerid][pContractTime2] = 0;
PlayerInfo[playerid][pDetSkill] = 0;
PlayerInfo[playerid][pSexSkill] = 0;
PlayerInfo[playerid][pBoxSkill] = 0;
PlayerInfo[playerid][pLawSkill] = 0;
PlayerInfo[playerid][pMechSkill] = 0;
PlayerInfo[playerid][pJackSkill] = 0;
PlayerInfo[playerid][pCarSkill] = 0;
PlayerInfo[playerid][pNewsSkill] = 0;
PlayerInfo[playerid][pDrugsSkill] = 0;
PlayerInfo[playerid][pCookSkill] = 0;
PlayerInfo[playerid][pFishSkill] = 0;
PlayerInfo[playerid][pRiasztoSkill] = 0;
PlayerInfo[playerid][pHackingSkill] = 0;
PlayerInfo[playerid][pSHealth] = 0.0;
PlayerInfo[playerid][pHealth] = MAXHP;
PlayerInfo[playerid][pPos_x] = 2246.6;
PlayerInfo[playerid][pPos_y] = -1161.9;
PlayerInfo[playerid][pPos_z] = 1029.7;
PlayerInfo[playerid][pInt] = 15;
PlayerInfo[playerid][pLocal] = NINCS;
PlayerInfo[playerid][pModel] = 200;
//new randphone = 1000 + random(8999);//minimum 1000 max 9999 //giving one at the start
PlayerInfo[playerid][pPnumber] = 0;
PlayerInfo[playerid][pPhousekey] = NINCS;
PlayerInfo[playerid][pPbiskey] = 255;
PlayerInfo[playerid][pCarLic] = 0;
PlayerInfo[playerid][pFlyLic] = 0;
PlayerInfo[playerid][pBoatLic] = 0;
PlayerInfo[playerid][pFishLic] = 0;
PlayerInfo[playerid][pGunLic] = 0;
PlayerInfo[playerid][pCarTime] = 0;
PlayerInfo[playerid][pPayDay] = 0;
PlayerInfo[playerid][pPayDayHad] = 0;
PlayerInfo[playerid][pCDPlayer] = 0;
PlayerInfo[playerid][pWins] = 0;
PlayerInfo[playerid][pLoses] = 0;
PlayerInfo[playerid][pAlcoholPerk] = 0;
PlayerInfo[playerid][pDrugPerk] = 0;
PlayerInfo[playerid][pMiserPerk] = 0;
PlayerInfo[playerid][pPainPerk] = 0;
PlayerInfo[playerid][pTraderPerk] = 0;
PlayerInfo[playerid][pTut] = 0;
PlayerInfo[playerid][pWarns] = 0;
PlayerInfo[playerid][pKWarns] = 0;
PlayerInfo[playerid][pFuel] = 0;
PlayerInfo[playerid][pLokator] = 0;
PlayerInfo[playerid][pHamisNev] = 0;
//PlayerInfo[playerid][pNyomkoveto] = 0;
//PlayerInfo[playerid][pNyomkovetes] = 0;
PlayerInfo[playerid][pSpawned] = 0;
PlayerInfo[playerid][pGPS] = 0;
PlayerInfo[playerid][pMuanyag] = 0;
PlayerInfo[playerid][pCserje] = 0;
PlayerInfo[playerid][pMak] = 0;
PlayerInfo[playerid][pCannabis] = 0;
PlayerInfo[playerid][pKaja] = 0;
PlayerInfo[playerid][pDrogido] = 0;
PlayerInfo[playerid][pAS] = 0;
PlayerInfo[playerid][pCPosX] = 0.000000;
PlayerInfo[playerid][pCPosY] = 0.000000;
PlayerInfo[playerid][pCPosZ] = 0.000000;
PlayerInfo[playerid][pCInt] = 0;
PlayerInfo[playerid][pCVW] = 0;
PlayerInfo[playerid][pCrash] = 0;
PlayerInfo[playerid][pFegyver] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
PlayerInfo[playerid][pTolteny] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
PlayerInfo[playerid][pCelet] = MAXHP;
PlayerInfo[playerid][pCpajzs] = 100.0;
PlayerInfo[playerid][pPcarkey] = NINCS;
PlayerInfo[playerid][pCigiUsed] = 0;
PlayerInfo[playerid][pCigiFuggoseg] = 0;
PlayerInfo[playerid][pCigi] = 0;
PlayerInfo[playerid][pNikotin] = 0;
PlayerInfo[playerid][pGyujto] = 0;
PlayerInfo[playerid][pPia] = 0;
PlayerInfo[playerid][pSwattag] = 0;
PlayerInfo[playerid][pSwatRang] = 0;
PlayerInfo[playerid][pKituntetes] = 0;
PlayerInfo[playerid][pSzallitott] = 0;
PlayerInfo[playerid][pSpawnchange] = 0;
PlayerInfo[playerid][pAdminAlnevBe] = 0;
PlayerInfo[playerid][pTeloEgyenleg] = 0;
PlayerInfo[playerid][pUtlevel] = 0;
PlayerInfo[playerid][pSzemelyi] = 0;
PlayerInfo[playerid][pLakcimkartya] = 0;
PlayerInfo[playerid][pStilus] = 0;
PlayerInfo[playerid][pBankSzamla] = 0;
PlayerInfo[playerid][pBankSzamlaSzam] = 0;
PlayerInfo[playerid][pBankSzamlaJelszo] = 0;
PlayerInfo[playerid][pC4] = 0;
PlayerInfo[playerid][pHitman] = 0;
PlayerInfo[playerid][pHitmanNev][0] = EOS;
PlayerInfo[playerid][pKey][0] = EOS;
PlayerInfo[playerid][pPremiumCsomag] = 0;
PlayerInfo[playerid][pPremiumIdo] = 0;
PlayerInfo[playerid][pPremiumPont] = 0;
PlayerInfo[playerid][pPower] = 0;
PlayerInfo[playerid][pMotorJogsi] = 0;
PlayerInfo[playerid][pKamionJogsi] = 0;
PlayerInfo[playerid][pReportChannel] = NINCS;
PlayerInfo[playerid][pViewReportChannel] = NINCS;
NoName[playerid] = false;
/*PlayerInfo[playerid][pAdoHaz] = 0;
PlayerInfo[playerid][pAdoHazHol] = 0;
PlayerInfo[playerid][pAdoSzint] = 0;
PlayerInfo[playerid][pAdoJarmu] = 0;
PlayerInfo[playerid][pAdoKitoltve] = 0;
PlayerInfo[playerid][pAdo] = 0;
PlayerInfo[playerid][pAdoEllenorizve] = 0;*/
PlayerRaceInfo[playerid][xVersenyen] = NINCS;
PlayerRaceInfo[playerid][xEpites] = NINCS;
ClearCrime(playerid);
ClearFishes(playerid);
ClearCooking(playerid);
ClearGroceries(playerid);
ClearMarriage(playerid);
PlayerNameGet(playerid);
//if(egyezik(PlayerName(playerid), \"Tamasi_Gabor\")) Tamasi[playerid] = true;
if(IsPlayerNPC(playerid))
{
gPlayerLogged[playerid] = 1;
//SpawnPlayer(playerid);
NPCCsatlakozas(PlayerName(playerid), playerid);
return 1;
}
if(!IsValidName(playerid))
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, \"Ez a szerver egy RP! Azaz: Vezetéknév_Keresztnév\");
Kick(playerid);
return 0;
}
if(!NagyKezdobetusNev(playerid))
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, \"Nem kicsivel kell írni a neved. A Valóságban sem úgy írod.\");
Kick(playerid);
return 0;
}
/*if(!strcmp(PlayerName(playerid), \"Gary_Roach_Sanderson\", true) && strcmp(PlayerIP(playerid), \"82.150.46.144\"))
{
if(strcmp(PlayerIP(playerid), \"192.168.0.101\"))
{
SeeBan(playerid, 0, NINCS, \"Urahara karakter\", true);
SendFormatMessageToAll(COLOR_LIGHTRED, \"FamousRPG: %s kibannolva Urahara szelleme által | Oka: Ne gyere már fel a karimmal légyszives... Köszi, pápá
\", PlayerIP(playerid));
Kick(playerid);
}
}*/
new query[512], where[128], ido, mido, gido = gettime();
Format(query, \"SELECT ido FROM %s WHERE %s\", SQL_DB_Kocsik, where);
Format(where, \"cim=\'%s\' or cim=\'%s\'\", PlayerName(playerid), PlayerIP(playerid));
if(!IsPlayerNPC(playerid) && Mysql_Num(SQL_DB_Ban, where) >= 1)
{
Format(where, \"cim=\'%s\' or cim=\'%s ORDER BY ido DESC\'\", PlayerName(playerid), PlayerIP(playerid));
mido = strval(Mysql_Get(SQL_DB_Ban, \"ido\", where));
ido = floatround((0.0+mido-gido) / 3600.0, floatround_round);
new meddig[128];
if(ido > 0 && ido < 24) Format(meddig, \"%d óráig\", ido);
else if(ido >= 24 && ido < (24*7))
{
if(ido % 24 == 0)
Format(meddig, \"%d napig\", (ido / 24));
else
Format(meddig, \"%d napig és %d óráig\", floatround(ido/24, floatround_floor), (ido%24));
}
else if(ido >= (24*7))// && ido < (24*7*4))
{
if(ido % (24*7) == 0)
Format(meddig, \"%d hétig\", (ido/24/7));
else
{
if(ido % 24 == 0)
Format(meddig, \"%d hétig és %d napig\", floatround(ido/24/7, floatround_floor), floatround((ido/24)%7, floatround_floor));
else
Format(meddig, \"%d hétig, %d napig, és %d óráig\", floatround(ido/24/7, floatround_floor), floatround((ido/24)%7, floatround_floor), (ido%24));
}
}
if(ido <= 0)
SendClientMessage(playerid, COLOR_LIGHTRED, \"Sajnálom, de te bannolva vagy.\");
else
{
SendClientMessage(playerid, COLOR_LIGHTRED, \"Sajnálom, de te bannolva vagy\");
SendFormatMessage(playerid, COLOR_LIGHTRED, \"Idõ: %s\", meddig);
}
Kick(playerid);
return 1;
}
numplayers++;
CheckUtolso();
if(RegCheck(playerid, \"SQL\"))
PlayerInfo[playerid][pRegistered] = 2;
else
PlayerInfo[playerid][pRegistered] = 0;
/*else
{
Msg(playerid, \"Nem vagy regisztrálva a szerverre. Regisztrálni a kezelõfelületen tudsz: \");
Kick(playerid);
}*/
//PlayerInfo[playerid][pRegistered] = 0;
MysqlGetPlayerId(playerid);
if(Registered(playerid) == 2)
MysqlGetPass(playerid);
strmid(PlayerInfo[playerid][pIP], PlayerIP(playerid), 0, strlen(PlayerIP(playerid)), 16);
SetPlayerColor(playerid,COLOR_GRAD2);
new bekistring[128], ip[20];
GetPlayerIp(playerid, ip, sizeof(ip));
format(bekistring, sizeof(bekistring), \"[iP:%s, ID: %d]%s Csatlakozott\", ip, playerid, PlayerName(playerid));
BeKilepes(bekistring);
new string[64];
format(string, sizeof(string), \"~g~Köszöntelek a FamousRPG-n~n~\");
GameTextForPlayer(playerid, string, 5000, 0);
for(new c = 0; c < MAX_VEHICLES; c++)
{
if(!IsVehicleConnected©) continue;
if(Locked©)
SetVehicleParamsForPlayer(playerid, c, 0, 1);
}
SpawnHely[playerid] = random(sizeof(LoginSpawn));
return 1;
}[/pawn]