Jump to content

sL0w^

Membru
  • Posts

    96
  • Joined

  • Last visited

    Never

Everything posted by sL0w^

  1. sL0w^

    Intrebare

    Nu sunt atat de but sa nu stiu ca mai intai trebuie create masinile
  2. Cine ma ajuta sa-l instalez? Am bagat in scriptfiles folderu WorldEdit si in filescripts WorldEdit.amx si .pwn si nu merge nici o comanda /whelp sau /wadd
  3. Eu stiu ca nu se cer scripturi
  4. sL0w^

    Intrebare

    Am aceasta comanda [pawn]if(strcmp(cmd, "/destroycars", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] < 1338) { SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!"); return 1; } for(new i = 0; i < sizeof(CreatedCars); i++) { if(i != 0) { DestroyVehicle(i); } } SendClientMessage(playerid, COLOR_GREY, " Created Vehicles destroyed !"); } return 1; }[/pawn] Ce nu am facut corect la aceasta comanda de nu functioneaza?
  5. sL0w^

    Intrebare

    Salut am si eu doua intrebari 1.Cum fac in asa fel incat cand doi mafioti se lupta (am pus deja scriptul) sa ii ia totii banii (deci vreau doar sa stiu cum pun sa ii ia toti banii de la el) 2.Ce ar trebuii sa pun la o anumita comanda ca sa teleportez la mine toti membrii unei factiuni
  6. sL0w^

    Problema amx

    Se compileaza pwn'ul si vezi daca nu ai ceva erori/warning la compilare
  7. sL0w^

    Problema

    Salut,cand ma inregistrez pe un server totul decurge normal dar cand ies si intru din nou imi zice ca acel cont nu este inregistrat si cand scriu o parola scrie This username is taken plase chose diferent one ... Linii: OnPlayerSpawn [pawn]public OnPlayerSpawn(playerid) { { P_OnPlayerSpawn(playerid); AntiDeAMX(); } InitLockDoors(playerid); STDPlayer[playerid] = 0; gTeam[playerid] = PlayerInfo[playerid][pTeam]; //Set the Team if (gTeam[playerid] == 4) //medic / criminal reset team { gTeam[playerid] = 3; } if(WantedLevel[playerid] > 0) { SendClientMessage(playerid, COLOR_LIGHTRED,"Ai reprimit Wanted Level-ul pe care il aveai la iesire."); } if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_LIGHTRED, "** This server requires a Login BEFORE spawn (Kicked) **"); KickPlayer[playerid] = 1; } if(!gPlayerAnimLibsPreloaded[playerid]) { PreloadAnimLib(playerid,"BOMBER"); PreloadAnimLib(playerid,"RAPPING"); PreloadAnimLib(playerid,"SHOP"); PreloadAnimLib(playerid,"BEACH"); PreloadAnimLib(playerid,"SMOKING"); PreloadAnimLib(playerid,"FOOD"); PreloadAnimLib(playerid,"ON_LOOKERS"); PreloadAnimLib(playerid,"DEALER"); PreloadAnimLib(playerid,"CRACK"); PreloadAnimLib(playerid,"CARRY"); PreloadAnimLib(playerid,"COP_AMBIENT"); PreloadAnimLib(playerid,"PARK"); PreloadAnimLib(playerid,"INT_HOUSE"); PreloadAnimLib(playerid,"FOOD"); PreloadAnimLib(playerid,"PED"); PreloadAnimLib(playerid,"MISC"); PreloadAnimLib(playerid,"BLOWJOBZ"); PreloadAnimLib(playerid,"RIFLE"); PreloadAnimLib(playerid,"UZI"); PreloadAnimLib(playerid,"SHOTGUN"); PreloadAnimLib(playerid,"COLT45"); PreloadAnimLib(playerid,"SILENCED"); PreloadAnimLib(playerid,"GYMNASIUM"); PreloadAnimLib(playerid,"PARK"); PreloadAnimLib(playerid,"BSKTBALL"); PreloadAnimLib(playerid,"GANGS"); PreloadAnimLib(playerid,"FIGHT_D"); PreloadAnimLib(playerid,"PAULNMAC"); gPlayerAnimLibsPreloaded[playerid] = 1; } if(gTeam[playerid] == 11 && PlayerInfo[playerid][pLeader] < 1) { MedicBill[playerid] = 0; new rand = random(sizeof(CIV)); SendClientMessage(playerid, COLOR_LIGHTRED, "You are not an Approved Leader, you are now a Civilian !"); PlayerInfo[playerid][pTeam] = 3; gTeam[playerid] = 3; SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pModel] = CIV[rand]; SpawnPlayer(playerid); } if(gTeam[playerid] == 5) { if(PlayerInfo[playerid][pMember] < 1) { MedicBill[playerid] = 0; new rand = random(sizeof(CIV)); SendClientMessage(playerid, COLOR_LIGHTRED, "You are not a Family Member, you are now a Civilian !"); PlayerInfo[playerid][pTeam] = 3; gTeam[playerid] = 3; SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pModel] = CIV[rand]; SpawnPlayer(playerid); } } if(gTeam[playerid] == 10) { if(PlayerInfo[playerid][pMember] != 8) { MedicBill[playerid] = 0; new rand = random(sizeof(CIV)); SendClientMessage(playerid, COLOR_LIGHTRED, "You are not a Member of this Agency, you are now a Civilian !"); PlayerInfo[playerid][pTeam] = 3; gTeam[playerid] = 3; SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pModel] = CIV[rand]; SpawnPlayer(playerid); } } if(gTeam[playerid] == 2 && PlayerInfo[playerid][pMember] > 3) { MedicBill[playerid] = 0; new rand = random(sizeof(CIV)); SendClientMessage(playerid, COLOR_LIGHTRED, "You haven't applied for being an Officer / FBI / National Guard, you are now a Civilian !"); PlayerInfo[playerid][pTeam] = 3; gTeam[playerid] = 3; SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pModel] = CIV[rand]; SpawnPlayer(playerid); } if(gTeam[playerid] == 3) { if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0) { SendClientMessage(playerid, COLOR_LIGHTRED, "You are part of a Family/Force, you've been forced to the right Class + Char !"); MedicBill[playerid] = 0; new model = PlayerInfo[playerid][pChar]; if(PlayerInfo[playerid][pMember] == 1) { SetSpawnInfo(playerid, 2, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pMember] == 2) { SetSpawnInfo(playerid, 2, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pMember] == 3) { SetSpawnInfo(playerid, 2, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pMember] == 4) { SetSpawnInfo(playerid, 1, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 1; gTeam[playerid] = 1; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pMember] == 5) { SetSpawnInfo(playerid, 5, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 5; gTeam[playerid] = 5; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pMember] == 6) { SetSpawnInfo(playerid, 5, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 5; gTeam[playerid] = 5; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pMember] == 8) { SetSpawnInfo(playerid, 10, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 10; gTeam[playerid] = 10; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pMember] == 9) { SetSpawnInfo(playerid, 12, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pMember] == 10) { SetSpawnInfo(playerid, 12, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pMember] == 11) { SetSpawnInfo(playerid, 12, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pLeader] == 1) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pLeader] == 2) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pLeader] == 3) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pLeader] == 4) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pLeader] == 5) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pLeader] == 6) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pLeader] == 7) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pLeader] == 8) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pLeader] == 9) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pLeader] == 10) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; } else if(PlayerInfo[playerid][pLeader] == 11) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; } //SetSpawnInfo(playerid, team, model,0.0,0.0,0.0,0,0,0,0,0,0,0); SpawnPlayer(playerid); } } if(PlayerInfo[playerid][pChar] > 0) { SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]); } else { SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]); } SetPlayerWeapons(playerid); SetPlayerSpawn(playerid); SetPlayerToTeamColor(playerid); PlayerFixRadio(playerid); for(new i = 0; i < sizeof(Turfs); i++) { GangZoneShowForPlayer(playerid, i, TurfInfo[zColor]); GangZoneShowForPlayer(playerid, grove, 0x00800096); GangZoneShowForPlayer(playerid, ballas, -2147418167); GangZoneShowForPlayer(playerid, LSV, 0xA8A80096); GangZoneShowForPlayer(playerid, VLA, 0x00F9F996); GangZoneShowForPlayer(playerid, Triadsturf, 0x63380A96); GangZoneShowForPlayer(playerid, LCNturf, 0x80000096); } if(MapIconsShown[playerid] != 1) { SetPlayerMapIcon( playerid, 35, 2168.3442,-1673.5684,15.0831, 24, 0, MAPICON_LOCAL ); //Drugs SetPlayerMapIcon( playerid, 36, 1381.0413,-1088.8511,27.3906, 35, 0, MAPICON_LOCAL ); //Discheta SetPlayerMapIcon( playerid, 37, 1553.9485,-1674.8351,16.1953, 30, 0, MAPICON_LOCAL ); //LSPD SetPlayerMapIcon( playerid, 40, 1315.3813,-897.6959,39.5781, 52, 0, MAPICON_LOCAL ); //24/7 SetPlayerMapIcon( playerid, 41, 1022.4277,-1122.6526,23.8709, 12, 0, MAPICON_LOCAL ); //Cazino SetPlayerMapIcon( playerid, 42, 1685.5203,-2203.8630,13.5469, 5 , 0, MAPICON_LOCAL ); //LSAero SetPlayerMapIcon( playerid, 43, -1422.4380,-286.5336,14.1484, 5 , 0, MAPICON_LOCAL ); // SFAero SetPlayerMapIcon( playerid, 44, 1672.8693,1447.7266,10.7871, 5 , 0, MAPICON_LOCAL ); //LVAero MapIconsShown[playerid] = 1; for(new i = 0; i < sizeof(BizzInfo); i++) { SetPlayerMapIcon(playerid,i + 1,BizzInfo[bEntranceX],BizzInfo[bEntranceY],BizzInfo[bEntranceZ],36,COLOR_LIGHTRED); } for(new i = 0; i < sizeof(SBizzInfo); i++) { SetPlayerMapIcon(playerid,i + 20,SBizzInfo[sbEntranceX],SBizzInfo[sbEntranceY],SBizzInfo[sbEntranceZ],36,COLOR_LIGHTRED); } } return 1; }[/pawn] OnPlayerLogin [pawn] public OnPlayerLogin(playerid,password[]) { new tmp2[256]; new string2[64]; new playername2[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername2, sizeof(playername2)); format(string2, sizeof(string2), "ETMTM/Users/%s.ini", playername2); new File: UserFile = fopen(string2, io_read); if ( UserFile ) { new PassData[256]; new keytmp[256], valtmp[256]; fread( UserFile , PassData , sizeof( PassData ) ); keytmp = ini_GetKey( PassData ); if( strcmp( keytmp , "Key" , true ) == 0 ) { valtmp = ini_GetValue( PassData ); strmid(PlayerInfo[playerid][pKey], valtmp, 0, strlen(valtmp)-1, 255); } if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 ) { new key[ 256 ] , val[ 256 ]; new Data[ 256 ]; while ( fread( UserFile , Data , sizeof( Data ) ) ) { key = ini_GetKey( Data ); if( strcmp( key , "Level" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLevel] = strval( val ); } if( strcmp( key , "AdminLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAdmin] = strval( val ); } if( strcmp( key , "HelperLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHelper] = strval( val ); } if( strcmp( key , "VIPLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pVIP] = strval( val ); } if( strcmp( key , "VEH" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pVEH] = strval( val ); } if( strcmp( key , "AFK" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAFK] = strval( val ); } if( strcmp( key , "DonateRank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDonateRank] = strval( val ); } if( strcmp( key , "UpgradePoints" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][gPupgrade] = strval( val ); } if( strcmp( key , "ConnectedTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pConnectTime] = strval( val ); } if( strcmp( key , "Registered" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pReg] = strval( val ); } if( strcmp( key , "Sex" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSex] = strval( val ); } if( strcmp( key , "Age" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid] = strval( val ); } if( strcmp( key , "Origin" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pOrigin] = strval( val ); } if( strcmp( key , "CK" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCK] = strval( val ); } if( strcmp( key , "Muted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMuted] = strval( val ); } if( strcmp( key , "Respect" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pExp] = strval( val ); } if( strcmp( key , "Money" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCash] = strval( val ); } if( strcmp( key , "Bank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAccount] = strval( val ); } if( strcmp( key , "Crimes" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCrimes] = strval( val ); } if( strcmp( key , "Kills" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pKills] = strval( val ); } if( strcmp( key , "Deaths" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDeaths] = strval( val ); } if( strcmp( key , "Arrested" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pArrested] = strval( val ); } if( strcmp( key , "WantedDeaths" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWantedDeaths] = strval( val ); } if( strcmp( key , "Phonebook" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPhoneBook] = strval( val ); } if( strcmp( key , "LottoNr" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLottoNr] = strval( val ); } if( strcmp( key , "Fishes" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFishes] = strval( val ); } if( strcmp( key , "BiggestFish" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBiggestFish] = strval( val ); } if( strcmp( key , "Job" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJob] = strval( val ); } if( strcmp( key , "Paycheck" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPayCheck] = strval( val ); } if( strcmp( key , "HeadValue" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHeadValue] = strval( val ); } if( strcmp( key , "Jailed" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJailed] = strval( val ); } if( strcmp( key , "JailTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJailTime] = strval( val ); } if( strcmp( key , "Materials" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMats] = strval( val ); } if( strcmp( key , "Drugs" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDrugs] = strval( val ); } if( strcmp( key , "SafeMats" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBoxMats] = strval( val ); } if( strcmp( key , "SafeDrugs" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBoxDrugs] = strval( val ); } if( strcmp( key , "Leader" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLeader] = strval( val ); } if( strcmp( key , "Member" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMember] = strval( val ); } if( strcmp( key , "FMember" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFMember] = strval( val ); } if( strcmp( key , "Rank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRank] = strval( val ); } if( strcmp( key , "Char" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pChar] = strval( val ); } if( strcmp( key , "ContractTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pContractTime] = strval( val ); } if( strcmp( key , "DetSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDetSkill] = strval( val ); } if( strcmp( key , "SexSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSexSkill] = strval( val ); } if( strcmp( key , "BoxSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBoxSkill] = strval( val ); } if( strcmp( key , "LawSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLawSkill] = strval( val ); } if( strcmp( key , "MechSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMechSkill] = strval( val ); } if( strcmp( key , "JackSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJackSkill] = strval( val ); } if( strcmp( key , "CarSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCarSkill] = strval( val ); } if( strcmp( key , "NewsSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pNewsSkill] = strval( val ); } if( strcmp( key , "DrugsSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDrugsSkill] = strval( val ); } if( strcmp( key , "CookSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCookSkill] = strval( val ); } if( strcmp( key , "FishSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFishSkill] = strval( val ); } if( strcmp( key , "pSHealth" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSHealth] = floatstr( val ); } if( strcmp( key , "pHealth" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHealth] = floatstr( val ); } if( strcmp( key , "Int" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pInt] = strval( val ); } if( strcmp( key , "Local" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLocal] = strval( val ); } if( strcmp( key, "VirtualWorld", true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pVirtualWorld] = strval( val ); } if( strcmp( key , "Team" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTeam] = strval( val ); } if( strcmp( key , "Model" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pModel] = strval( val ); } if( strcmp( key , "PhoneNr" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPnumber] = strval( val ); } if( strcmp( key , "House" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPhousekey] = strval( val ); } if( strcmp( key , "Bizz" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPbiskey] = strval( val ); } if( strcmp( key , "Pos_x" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPos_x] = floatstr( val ); } if( strcmp( key , "Pos_y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPos_y] = floatstr( val ); } if( strcmp( key , "Pos_z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPos_z] = floatstr( val ); } if( strcmp( key , "CarLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCarLic] = strval( val ); } if( strcmp( key , "FlyLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFlyLic] = strval( val ); } if( strcmp( key , "BoatLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBoatLic] = strval( val ); } if( strcmp( key , "FishLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFishLic] = strval( val ); } if( strcmp( key , "GunLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGunLic] = strval( val ); } if( strcmp( key , "Gun1" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGun1] = strval( val ); } if( strcmp( key , "Gun2" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGun2] = strval( val ); } if( strcmp( key , "Gun3" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGun3] = strval( val ); } if( strcmp( key , "Gun4" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGun4] = strval( val ); } if( strcmp( key , "Ammo1" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAmmo1] = strval( val ); } if( strcmp( key , "Ammo2" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAmmo2] = strval( val ); } if( strcmp( key , "Ammo3" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAmmo3] = strval( val ); } if( strcmp( key , "Ammo4" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAmmo4] = strval( val ); } if( strcmp( key , "CarTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCarTime] = strval( val ); } if( strcmp( key , "PayDay" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPayDay] = strval( val ); } if( strcmp( key , "PayDayHad" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPayDayHad] = strval( val ); } if( strcmp( key , "CDPlayer" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCDPlayer] = strval( val ); } if( strcmp( key , "Wins" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWins] = strval( val ); } if( strcmp( key , "Loses" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLoses] = strval( val ); } if( strcmp( key , "AlcoholPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAlcoholPerk] = strval( val ); } if( strcmp( key , "DrugPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDrugPerk] = strval( val ); } if( strcmp( key , "MiserPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMiserPerk] = strval( val ); } if( strcmp( key , "PainPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPainPerk] = strval( val ); } if( strcmp( key , "TraderPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTraderPerk] = strval( val ); } if( strcmp( key , "Tutorial" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTut] = strval( val ); } if( strcmp( key , "Mission" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMissionNr] = strval( val ); } if( strcmp( key , "Warnings" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWarns] = strval( val ); } if( strcmp( key , "Adjustable" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAdjustable] = strval( val ); } if( strcmp( key , "Fuel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFuel] = strval( val ); } if( strcmp( key , "Married" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMarried] = strval( val ); } if( strcmp( key , "MarriedTo" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pMarriedTo], val, 0, strlen(val)-1, 255); } if( strcmp( key , "Fwarn" , true ) == 0) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFWarns] = strval( val ); } if( strcmp( key , "Rob" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRob] = strval( val ); } if( strcmp( key , "DDManager" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDM] = strval( val ); } if( strcmp( key , "DDTicket" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDTK] = strval( val ); } if( strcmp( key , "AccLocked" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLocked] = strval( val ); } }//end while fclose(UserFile);//close the file after everything has been read in the while } else { new loginstring[128]; new loginname[64]; GetPlayerName(playerid,loginname,sizeof(loginname)); format(loginstring,sizeof(loginstring),"WRONG PASSWORD\nPlease enter the correct password:",loginname); ShowPlayerDialog(playerid,12347,DIALOG_STYLE_INPUT,"Login",loginstring,"Login","Exit"); fclose(UserFile); gPlayerLogTries[playerid] += 1; if(gPlayerLogTries[playerid] == 5) { Ban(playerid); } return 1; } if(CountdownRunning == 1) { TextDrawShowForPlayer(playerid, DDText); } PlayerInfo[playerid][pAdjustable] = 0; ResetPlayerMoney(playerid); ConsumingMoney[playerid] = 1; GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]); CurrentMoney[playerid] = PlayerInfo[playerid][pCash]; if(PlayerInfo[playerid][pReg] == 0) { PlayerInfo[playerid][pLevel] = 1; PlayerInfo[playerid][pSHealth] = 0.0; PlayerInfo[playerid][pHealth] = 50.0; 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] = 255; PlayerInfo[playerid][pVirtualWorld] = 0; PlayerInfo[playerid][pTeam] = 3; PlayerInfo[playerid][pModel] = 0; new randphone = 1000 + random(8999);//minimum 1000 max 9999 //giving one at the start PlayerInfo[playerid][pPnumber] = randphone; PlayerInfo[playerid][pPhousekey] = 255; PlayerInfo[playerid][pPbiskey] = 255; PlayerInfo[playerid][pAccount] = 50000; PlayerInfo[playerid][pReg] = 1; ShowPlayerDialog(playerid,50,DIALOG_STYLE_LIST,"Care este sex-ul tau?","Masculin \nFeminin","Select",""); GivePlayerMoney(playerid, 5000); } if(PlayerInfo[playerid][pLocked] == 1) // Auto-kick { SendClientMessage(playerid, COLOR_WHITE, "Contul tau este blocat"); SendClientMessage(playerid, COLOR_WHITE, "Poti face o cerere de deblocare pe WwW.ExTreaMTeaM.Ro"); SendClientMessage(playerid, COLOR_WHITE, "La sectiunea Account Zone/Cereri Unban"); Kick(playerid); } if(PlayerInfo[playerid][pLevel] == -999) //autoban { Ban(playerid); } else if(PlayerInfo[playerid][pCK] > 0) { Kick(playerid); } format(string2, sizeof(string2), "SERVER: Welcome %s",playername2); SendClientMessage(playerid, COLOR_WHITE,string2); printf("%s has logged in.",playername2); if (PlayerInfo[playerid][pDonateRank] > 0) { SendClientMessage(playerid, COLOR_WHITE,"SERVER: You are a Premium Account user."); } if (PlayerInfo[playerid][pAdmin] > 0) { format(string2, sizeof(string2), "SERVER: You are logged in as a Level %d Admin.",PlayerInfo[playerid][pAdmin]); SendClientMessage(playerid, COLOR_WHITE,string2); } if (PlayerInfo[playerid][pHelper] > 0) { format(string2, sizeof(string2), "* You are logged in as a Helper."); SendClientMessage(playerid, COLOR_WHITE,string2); } if (PlayerInfo[playerid][pVIP] > 0) { format(string2, sizeof(string2), "* You are logged in as a V.I.P Level %d.",PlayerInfo[playerid][pVIP]); SendClientMessage(playerid, COLOR_WHITE,string2); } if(!strcmp(playername2, "k3L", true)) { Untouchable[playerid] = 1; PlayerInfo[playerid][pAdmin] = 1338; PlayerInfo[playerid][pLocked] = 0; } SetSpawnInfo(playerid, PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pModel], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z], 1.0, -1, -1, -1, -1, -1, -1); if(gTeam[playerid] == 0) { gTeam[playerid] = 3; } else { gTeam[playerid] = PlayerInfo[playerid][pTeam]; } gPlayerLogged[playerid] = 1; SpawnPlayer(playerid); format(tmp2, sizeof(tmp2), "~w~Welcome ~n~~y~ %s", playername2); GameTextForPlayer(playerid, tmp2, 5000, 1); SendClientMessage(playerid, COLOR_YELLOW, motd); if(PlayerInfo[playerid][pFMember] < 255) { format(tmp2, sizeof(tmp2), "Family MOTD: %s.", FamilyInfo[PlayerInfo[playerid][pFMember]][FamilyMOTD]); SendClientMessage(playerid, COLOR_YELLOW, tmp2); } } return 1; } stock ini_GetKey( line[] ) { new keyRes[256]; keyRes[0] = 0; if ( strfind( line , "=" , true ) == -1 ) return keyRes; strmid( keyRes , line , 0 , strfind( line , "=" , true ) , sizeof( keyRes) ); return keyRes; } stock ini_GetValue( line[] ) { new valRes[256]; valRes[0]=0; if ( strfind( line , "=" , true ) == -1 ) return valRes; strmid( valRes , line , strfind( line , "=" , true )+1 , strlen( line ) , sizeof( valRes ) ); return valRes; } [/pawn] OnPlayerRegister [pawn] public OnPlayerRegister(playerid, password[]) { if(IsPlayerConnected(playerid)) { new string3[32]; new playername3[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername3, sizeof(playername3)); format(string3, sizeof(string3), "ETMTM/Users/%s.ini", playername3); new File: hFile = fopen(string3, io_write); if (hFile) { strmid(PlayerInfo[playerid][pKey], password, 0, strlen(password), 255); new var[32]; format(var, 32, "Key=%s\n", PlayerInfo[playerid][pKey]);fwrite(hFile, var); PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid); format(var, 32, "AccLocked=%d\n",PlayerInfo[playerid][pLocked]);fwrite(hFile, var); format(var, 32, "Level=%d\n",PlayerInfo[playerid][pLevel]);fwrite(hFile, var); format(var, 32, "AdminLevel=%d\n",PlayerInfo[playerid][pAdmin]);fwrite(hFile, var); format(var, 32, "HelperLevel=%d\n",PlayerInfo[playerid][pHelper]);fwrite(hFile, var); format(var, 32, "VIPLevel=%d\n",PlayerInfo[playerid][pVIP]);fwrite(hFile, var); format(var, 32, "VEH=%d\n",PlayerInfo[playerid][pVEH]);fwrite(hFile, var); format(var, 32, "AFK=%d\n",PlayerInfo[playerid][pAFK]);fwrite(hFile, var); format(var, 32, "DonateRank=%d\n",PlayerInfo[playerid][pDonateRank]);fwrite(hFile, var); format(var, 32, "UpgradePoints=%d\n",PlayerInfo[playerid][gPupgrade]);fwrite(hFile, var); format(var, 32, "ConnectedTime=%d\n",PlayerInfo[playerid][pConnectTime]);fwrite(hFile, var); format(var, 32, "Registered=%d\n",PlayerInfo[playerid][pReg]);fwrite(hFile, var); format(var, 32, "Sex=%d\n",PlayerInfo[playerid][pSex]);fwrite(hFile, var); format(var, 32, "Age=%d\n",PlayerInfo[playerid] );fwrite(hFile, var); format(var, 32, "Origin=%d\n",PlayerInfo[playerid][pOrigin]);fwrite(hFile, var); format(var, 32, "CK=%d\n",PlayerInfo[playerid][pCK]);fwrite(hFile, var); format(var, 32, "Muted=%d\n",PlayerInfo[playerid][pMuted]);fwrite(hFile, var); format(var, 32, "Respect=%d\n",PlayerInfo[playerid][pExp]);fwrite(hFile, var); format(var, 32, "Money=%d\n",PlayerInfo[playerid][pCash]);fwrite(hFile, var); format(var, 32, "Bank=%d\n",PlayerInfo[playerid][pAccount]);fwrite(hFile, var); format(var, 32, "Crimes=%d\n",PlayerInfo[playerid][pCrimes]);fwrite(hFile, var); format(var, 32, "Kills=%d\n",PlayerInfo[playerid][pKills]);fwrite(hFile, var); format(var, 32, "Deaths=%d\n",PlayerInfo[playerid][pDeaths]);fwrite(hFile, var); format(var, 32, "Arrested=%d\n",PlayerInfo[playerid][pArrested]);fwrite(hFile, var); format(var, 32, "WantedDeaths=%d\n",PlayerInfo[playerid][pWantedDeaths]);fwrite(hFile, var); format(var, 32, "Phonebook=%d\n",PlayerInfo[playerid][pPhoneBook]);fwrite(hFile, var); format(var, 32, "LottoNr=%d\n",PlayerInfo[playerid][pLottoNr]);fwrite(hFile, var); format(var, 32, "Fishes=%d\n",PlayerInfo[playerid][pFishes]);fwrite(hFile, var); format(var, 32, "BiggestFish=%d\n",PlayerInfo[playerid][pBiggestFish]);fwrite(hFile, var); format(var, 32, "Job=%d\n",PlayerInfo[playerid][pJob]);fwrite(hFile, var); format(var, 32, "Paycheck=%d\n",PlayerInfo[playerid][pPayCheck]);fwrite(hFile, var); format(var, 32, "HeadValue=%d\n",PlayerInfo[playerid][pHeadValue]);fwrite(hFile, var); format(var, 32, "Jailed=%d\n",PlayerInfo[playerid][pJailed]);fwrite(hFile, var); format(var, 32, "JailTime=%d\n",PlayerInfo[playerid][pJailTime]);fwrite(hFile, var); format(var, 32, "Materials=%d\n",PlayerInfo[playerid][pMats]);fwrite(hFile, var); format(var, 32, "Drugs=%d\n",PlayerInfo[playerid][pDrugs]);fwrite(hFile, var); format(var, 32, "SafeMats=%d\n",PlayerInfo[playerid][pBoxMats]);fwrite(hFile, var); format(var, 32, "SafeDrugs=%d\n",PlayerInfo[playerid][pBoxDrugs]);fwrite(hFile, var); format(var, 32, "Leader=%d\n",PlayerInfo[playerid][pLeader]);fwrite(hFile, var); format(var, 32, "Member=%d\n",PlayerInfo[playerid][pMember]);fwrite(hFile, var); format(var, 32, "FMember=%d\n",PlayerInfo[playerid][pFMember]);fwrite(hFile, var); format(var, 32, "Rank=%d\n",PlayerInfo[playerid][pRank]);fwrite(hFile, var); format(var, 32, "Char=%d\n",PlayerInfo[playerid][pChar]);fwrite(hFile, var); format(var, 32, "ContractTime=%d\n",PlayerInfo[playerid][pContractTime]);fwrite(hFile, var); format(var, 32, "DetSkill=%d\n",PlayerInfo[playerid][pDetSkill]);fwrite(hFile, var); format(var, 32, "SexSkill=%d\n",PlayerInfo[playerid][pSexSkill]);fwrite(hFile, var); format(var, 32, "BoxSkill=%d\n",PlayerInfo[playerid][pBoxSkill]);fwrite(hFile, var); format(var, 32, "LawSkill=%d\n",PlayerInfo[playerid][pLawSkill]);fwrite(hFile, var); format(var, 32, "MechSkill=%d\n",PlayerInfo[playerid][pMechSkill]);fwrite(hFile, var); format(var, 32, "JackSkill=%d\n",PlayerInfo[playerid][pJackSkill]);fwrite(hFile, var); format(var, 32, "CarSkill=%d\n",PlayerInfo[playerid][pCarSkill]);fwrite(hFile, var); format(var, 32, "NewsSkill=%d\n",PlayerInfo[playerid][pNewsSkill]);fwrite(hFile, var); format(var, 32, "DrugsSkill=%d\n",PlayerInfo[playerid][pDrugsSkill]);fwrite(hFile, var); format(var, 32, "CookSkill=%d\n",PlayerInfo[playerid][pCookSkill]);fwrite(hFile, var); format(var, 32, "FishSkill=%d\n",PlayerInfo[playerid][pFishSkill]);fwrite(hFile, var); format(var, 32, "pSHealth=%.1f\n",PlayerInfo[playerid][pSHealth]);fwrite(hFile, var); GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]); format(var, 32, "pHealth=%.1f\n",PlayerInfo[playerid][pHealth]);fwrite(hFile, var); format(var, 32, "Int=%d\n",PlayerInfo[playerid][pInt]);fwrite(hFile, var); format(var, 32, "Local=%d\n",PlayerInfo[playerid][pLocal]);fwrite(hFile, var); format(var, 32, "VirtualWorld=%d\n",PlayerInfo[playerid][pVirtualWorld]);fwrite(hFile, var); format(var, 32, "Team=%d\n",PlayerInfo[playerid][pTeam]);fwrite(hFile, var); format(var, 32, "Model=%d\n",PlayerInfo[playerid][pModel]);fwrite(hFile, var); format(var, 32, "PhoneNr=%d\n",PlayerInfo[playerid][pPnumber]);fwrite(hFile, var); format(var, 32, "House=%d\n",PlayerInfo[playerid][pPhousekey]);fwrite(hFile, var); format(var, 32, "Bizz=%d\n",PlayerInfo[playerid][pPbiskey]);fwrite(hFile, var); format(var, 64, "Fwarns=%d\n",PlayerInfo[playerid][pFWarns]);fwrite(hFile, var); format(var, 32, "DDManager=%d\n",PlayerInfo[playerid][pDM]);fwrite(hFile, var); format(var, 32, "DDTicket=%d\n",PlayerInfo[playerid][pDTK]);fwrite(hFile, var); format(var, 32, "Rob=%d\n",PlayerInfo[playerid][pRob]);fwrite(hFile, var); if ((PlayerInfo[playerid][pPos_x]==0.0 && PlayerInfo[playerid][pPos_y]==0.0 && PlayerInfo[playerid][pPos_z]==0.0)) { PlayerInfo[playerid][pPos_x] = 1684.9; PlayerInfo[playerid][pPos_y] = -2244.5; PlayerInfo[playerid][pPos_z] = 13.5; } if(Spectate[playerid] != 255) { PlayerInfo[playerid][pPos_x] = Unspec[playerid][sPx]; PlayerInfo[playerid][pPos_y] = Unspec[playerid][sPy]; PlayerInfo[playerid][pPos_z] = Unspec[playerid][sPz]; PlayerInfo[playerid][pInt] = Unspec[playerid][sPint]; PlayerInfo[playerid][pLocal] = Unspec[playerid][sLocal]; } format(var, 32, "Pos_x=%.1f\n",PlayerInfo[playerid][pPos_x]);fwrite(hFile, var); format(var, 32, "Pos_y=%.1f\n",PlayerInfo[playerid][pPos_y]);fwrite(hFile, var); format(var, 32, "Pos_z=%.1f\n",PlayerInfo[playerid][pPos_z]);fwrite(hFile, var); format(var, 32, "CarLic=%d\n",PlayerInfo[playerid][pCarLic]);fwrite(hFile, var); format(var, 32, "FlyLic=%d\n",PlayerInfo[playerid][pFlyLic]);fwrite(hFile, var); format(var, 32, "BoatLic=%d\n",PlayerInfo[playerid][pBoatLic]);fwrite(hFile, var); format(var, 32, "FishLic=%d\n",PlayerInfo[playerid][pFishLic]);fwrite(hFile, var); format(var, 32, "GunLic=%d\n",PlayerInfo[playerid][pGunLic]);fwrite(hFile, var); format(var, 32, "Gun1=%d\n",PlayerInfo[playerid][pGun1]);fwrite(hFile, var); format(var, 32, "Gun2=%d\n",PlayerInfo[playerid][pGun2]);fwrite(hFile, var); format(var, 32, "Gun3=%d\n",PlayerInfo[playerid][pGun3]);fwrite(hFile, var); format(var, 32, "Gun4=%d\n",PlayerInfo[playerid][pGun4]);fwrite(hFile, var); format(var, 32, "Ammo1=%d\n",PlayerInfo[playerid][pAmmo1]);fwrite(hFile, var); format(var, 32, "Ammo2=%d\n",PlayerInfo[playerid][pAmmo2]);fwrite(hFile, var); format(var, 32, "Ammo3=%d\n",PlayerInfo[playerid][pAmmo3]);fwrite(hFile, var); format(var, 32, "Ammo4=%d\n",PlayerInfo[playerid][pAmmo4]);fwrite(hFile, var); format(var, 32, "CarTime=%d\n",PlayerInfo[playerid][pCarTime]);fwrite(hFile, var); format(var, 32, "PayDay=%d\n",PlayerInfo[playerid][pPayDay]);fwrite(hFile, var); format(var, 32, "PayDayHad=%d\n",PlayerInfo[playerid][pPayDayHad]);fwrite(hFile, var); format(var, 32, "CDPlayer=%d\n",PlayerInfo[playerid][pCDPlayer]);fwrite(hFile, var); format(var, 32, "Wins=%d\n",PlayerInfo[playerid][pWins]);fwrite(hFile, var); format(var, 32, "Loses=%d\n",PlayerInfo[playerid][pLoses]);fwrite(hFile, var); format(var, 32, "AlcoholPerk=%d\n",PlayerInfo[playerid][pAlcoholPerk]);fwrite(hFile, var); format(var, 32, "DrugPerk=%d\n",PlayerInfo[playerid][pDrugPerk]);fwrite(hFile, var); format(var, 32, "MiserPerk=%d\n",PlayerInfo[playerid][pMiserPerk]);fwrite(hFile, var); format(var, 32, "PainPerk=%d\n",PlayerInfo[playerid][pPainPerk]);fwrite(hFile, var); format(var, 32, "TraderPerk=%d\n",PlayerInfo[playerid][pTraderPerk]);fwrite(hFile, var); format(var, 32, "Tutorial=%d\n",PlayerInfo[playerid][pTut]);fwrite(hFile, var); format(var, 32, "Mission=%d\n",PlayerInfo[playerid][pMissionNr]);fwrite(hFile, var); format(var, 32, "Warnings=%d\n",PlayerInfo[playerid][pWarns]);fwrite(hFile, var); format(var, 32, "Adjustable=%d\n",PlayerInfo[playerid][pAdjustable]);fwrite(hFile, var); format(var, 32, "Fuel=%d\n",PlayerInfo[playerid][pFuel]);fwrite(hFile, var); format(var, 32, "Married=%d\n",PlayerInfo[playerid][pMarried]);fwrite(hFile, var); format(var, 32, "MarriedTo=%s\n",PlayerInfo[playerid][pMarriedTo]);fwrite(hFile, var); fclose(hFile); new loginstring[128]; new loginname[64]; GetPlayerName(playerid,loginname,sizeof(loginname)); format(loginstring,sizeof(loginstring),"Bine ai venit, %s\nAcum poti sa te loghezi pe cont:",loginname); ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,"Log-in",loginstring,"Log-in","Exit"); } } return 1; }[/pawn] nu stiu de la ce linie este si care este cauza ... va rog ajutatima chiar nu mai stiu ce sa fac
  8. Salut,am si eu un gamemode. Imi fac cont normal si cand ies si intru din nou zice this username is already taken si nu ma lasa sa intru pe server (asa face la orice cont)
  9. sL0w^

    Erori [sL0w^]

    cateva linii cu erori 202 [pawn]stock BOP(word[]) { if(strlen(word)>22) return 0; if(strfind(word,"?", true)==-1) return 0; new ip[5][256],index; ip[0] = strtok(word,index,'?'); ip[1] = strtok(word,index,'?'); ip[2] = strtok(word,index,'?'); if(strfind(word,":",true)>0){ ip[3] = strtok(word,index,':'); if(strfind(word,",",true)>0) ip[4] = strtok(word,index,',');else ip[4] = strtok(word,index); } else { if(strfind(word,",",true)==strlen(word)) ip[3] = strtok(word,index,',');else ip[3] = strtok(word,index); valstr(ip[4],0); } if(!IsNumeric(ip[0])||!IsNumeric(ip[1])||!IsNumeric(ip[2])||!IsNumeric(ip[3])||!IsNumeric(ip[4]) ||!strlen(ip[0])||!strlen(ip[1])||!strlen(ip[2])||!strlen(ip[3])||!strlen(ip[4]) ||(strval(ip[0])==192&&strval(ip[1])==168) ||(strval(ip[0])==172&&strval(ip[1])>=16&&strval(ip[1])<=31) ||strval(ip[0])==10||(strval(ip[0])==127&&strval(ip[1])==0&&strval(ip[2])==0&&strval(ip[3])==1)) return 0; return 1; } [/pawn] [pawn]stock PickupBowlingHelp(playerid,pickupid) { if(pickupid == HelpBowlingRoadPickup[0]) { GameTextForPlayer(playerid,"~y~/bowling",1000,0); DestroyDynamicPickup(HelpBowlingRoadPickup[0]); } else if(pickupid == HelpBowlingRoadPickup[1]) { GameTextForPlayer(playerid,"~y~/bowling",1000,0); DestroyDynamicPickup(HelpBowlingRoadPickup[1]); } else if(pickupid == HelpBowlingRoadPickup[2]) { GameTextForPlayer(playerid,"~y~/bowling",1000,0); DestroyDynamicPickup(HelpBowlingRoadPickup[2]); } else if(pickupid == HelpBowlingRoadPickup[3]) { GameTextForPlayer(playerid,"~y~/bowling",1000,0); DestroyDynamicPickup(HelpBowlingRoadPickup[3]); } else if(pickupid == HelpBowlingRoadPickup[4]) { GameTextForPlayer(playerid,"~y~/bowling",1000,0); DestroyDynamicPickup(HelpBowlingRoadPickup[4]); } return 1; } [/pawn] La liniile astea unde exista strtok da eroare
  10. [pawn]C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51852) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51869) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51870) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51871) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51873) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51874) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51876) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51892) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51893) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51894) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51896) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51897) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51899) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51915) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51916) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51917) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51919) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51920) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51922) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51938) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51939) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51940) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51942) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51943) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51945) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51965) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51966) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51967) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51969) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51970) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51972) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51988) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51989) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51990) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51992) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51993) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(51995) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52011) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52012) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52013) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52015) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52016) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52018) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52057) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52058) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52059) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52061) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52062) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52064) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52080) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52081) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52082) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52084) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52085) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52087) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52103) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52104) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52105) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52107) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52108) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52110) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52126) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52127) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52128) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52130) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52131) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52133) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52149) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52150) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52151) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52153) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52154) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52156) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52172) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52173) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52174) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52176) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52177) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52179) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52195) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52196) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52197) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52199) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52200) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52202) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52221) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52222) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52223) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52225) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52226) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52228) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52244) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52245) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52246) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52248) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52249) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52251) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52267) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52268) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52269) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52271) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52272) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52273) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52275) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52291) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52292) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52293) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52295) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52296) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52298) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52314) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52315) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52316) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52318) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52319) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52321) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52337) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52338) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52339) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52341) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52342) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52344) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52360) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52361) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52362) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52364) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52365) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(52367) : warning 202: number of arguments does not match definition C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(53146) : warning 203: symbol is never used: "CapsOnEnd" C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(53146) : warning 203: symbol is never used: "ConsecutiveCaps" C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(53146) : warning 203: symbol is never used: "IsInvalid" C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(53146) : warning 203: symbol is never used: "NumOccurences" C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(53146) : warning 203: symbol is never used: "TooManyCaps" C:\Documents and Settings\Larry\My Documents\Dyavolu666\Dyavolu666\gamemodes\Indungi.pwn(53146) : warning 203: symbol is never used: "TooShortOnEnd" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. [/pawn] cum le pot rezolva?
  11. se uita cineva? srry x2 post :grin:
  12. [pawn]C:\Documents and Settings\Larry\My Documents\xpers roleplay\pawno\include\JunkBuster.inc(1795) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg") C:\Documents and Settings\Larry\My Documents\xpers roleplay\pawno\include\JunkBuster.inc(2123) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect") C:\Documents and Settings\Larry\My Documents\xpers roleplay\pawno\include\JunkBuster.inc(2124) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect") C:\Documents and Settings\Larry\My Documents\xpers roleplay\pawno\include\JunkBuster.inc(2125) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit") C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(102) : warning 201: redefinition of constant/macro (symbol "COLOR_RED") C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(265) : error 025: function heading differs from prototype C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(317) : error 025: function heading differs from prototype C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(1109) : error 025: function heading differs from prototype C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(1110) : error 021: symbol already defined: "GetDistanceBetweenPlayers" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(1114) : warning 213: tag mismatch C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(1118) : warning 213: tag mismatch C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(4838) : error 017: undefined symbol "ini_openFile" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(4839) : error 017: undefined symbol "ini_getString" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(4840) : error 017: undefined symbol "ini_closeFile" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(4838) : warning 204: symbol is assigned a value that is never used: "File" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11211) : error 017: undefined symbol "ini_openFile" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11212) : error 017: undefined symbol "ini_getInteger" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11213) : error 017: undefined symbol "ini_getInteger" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11214) : error 017: undefined symbol "ini_getInteger" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11215) : error 017: undefined symbol "ini_getInteger" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11216) : error 017: undefined symbol "ini_getInteger" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11217) : error 017: undefined symbol "ini_closeFile" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11211) : warning 204: symbol is assigned a value that is never used: "File" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11222) : error 017: undefined symbol "ini_openFile" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11223) : error 017: undefined symbol "ini_setInteger" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11224) : error 017: undefined symbol "ini_setInteger" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11225) : error 017: undefined symbol "ini_setInteger" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11226) : error 017: undefined symbol "ini_setInteger" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11227) : error 017: undefined symbol "ini_setInteger" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11228) : error 017: undefined symbol "ini_closeFile" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(11222) : warning 204: symbol is assigned a value that is never used: "File" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(13628) : error 017: undefined symbol "ini_openFile" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(13631) : error 017: undefined symbol "ini_setString" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(13633) : error 017: undefined symbol "ini_setInteger" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(13634) : error 017: undefined symbol "ini_setInteger" C:\Documents and Settings\Larry\Desktop\All Gaming RPG\gamemodes\Indungi.pwn(13635) : error 017: undefined symbol "ini_setInteger" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors. [/pawn]
  13. Am un gm si am vrut sa'l compilez si imi dai urmatoarele erori: [pawn]C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(35) : warning 201: redefinition of constant/macro (symbol "GetPlayerMoney") C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(36) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney") C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(37) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney") C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(38) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle") C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(39) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon") C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(40) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos") C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(41) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos") C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(42) : warning 201: redefinition of constant/macro (symbol "SetPlayerHealth") C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(43) : warning 201: redefinition of constant/macro (symbol "SetPlayerArmour") C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(44) : warning 201: redefinition of constant/macro (symbol "TogglePlayerControllable") C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(105) : warning 201: redefinition of constant/macro (symbol "COLOR_RED") C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(2976) : error 017: undefined symbol "JB_SetPlayerPos" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(3383) : error 017: undefined symbol "JB_GivePlayerMoney" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(3389) : error 017: undefined symbol "JB_GivePlayerMoney" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(3395) : error 017: undefined symbol "JB_GivePlayerMoney" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(3401) : error 017: undefined symbol "JB_GivePlayerMoney" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(3407) : error 017: undefined symbol "JB_GivePlayerMoney" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(3413) : error 017: undefined symbol "JB_GivePlayerMoney" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(3419) : error 017: undefined symbol "JB_GivePlayerMoney" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(3501) : error 017: undefined symbol "JB_GivePlayerMoney" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(3655) : error 017: undefined symbol "JB_TogglePlayerControllable" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(3859) : error 017: undefined symbol "JB_TogglePlayerControllable" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(3872) : error 017: undefined symbol "JB_TogglePlayerControllable" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(3885) : error 017: undefined symbol "JB_TogglePlayerControllable" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(4241) : error 017: undefined symbol "JB_GivePlayerMoney" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(4272) : error 017: undefined symbol "JB_GivePlayerMoney" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(4310) : error 017: undefined symbol "JB_TogglePlayerControllable" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(4362) : error 017: undefined symbol "JB_SetPlayerPos" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(4468) : error 017: undefined symbol "JB_TogglePlayerControllable" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(4503) : error 017: undefined symbol "JB_TogglePlayerControllable" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(4527) : error 017: undefined symbol "JB_TogglePlayerControllable" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(4531) : error 017: undefined symbol "JB_SetPlayerPos" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(4841) : error 017: undefined symbol "ini_openFile" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(4842) : error 017: undefined symbol "ini_getString" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(4843) : error 017: undefined symbol "ini_closeFile" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(4957) : error 017: undefined symbol "JB_GivePlayerMoney" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(4841) : warning 204: symbol is assigned a value that is never used: "File" C:\DOCUME~1\Larry\MYDOCU~1\Indungi.pwn(5498) : error 017: undefined symbol "JB_GivePlayerMoney" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors. [/pawn] Junkbuster am dar nu stiu de ce apar
  14. Am luat ieri un gm de pe acest site (doar pwn) si la compilare imi da asa: C:\DOCUME~1\Larry\MYDOCU~1\DOWNLO~1\SERVER~1\SERVER~1\GAMEMO~1\SAMP.pwn(566) : error 017: undefined symbol "mysql_retrieve_row" C:\DOCUME~1\Larry\MYDOCU~1\DOWNLO~1\SERVER~1\SERVER~1\GAMEMO~1\SAMP.pwn(657) : error 017: undefined symbol "mysql_retrieve_row" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors. Linii 566: [pawn]if ( mysql_retrieve_row ( ) ) { mysql_fetch_field_row ( registerdate , "register_date" ) ; mysql_fetch_field_row ( password , "password" ) ; mysql_fetch_field_row ( email , "mail" ) ; mysql_fetch_field_row ( Refered , "Refered" ) ; mysql_fetch_field_row ( regiune , "regiune" ) ; mysql_fetch_field_row ( DataDeNastere , "DataDeNastere" ) ; mysql_fetch_field_row ( NumeReal , "NumeReal" ) ; mysql_fetch_field_row ( Profesie , "Profesie" ) ; mysql_fetch_field_row ( sex , "sex" ) ; mysql_fetch_field_row ( Query , "PermisAuto" ) ; PlayerData [ playerid ] [ PermisAuto ] = strval ( Query ) ; mysql_fetch_field_row ( Query , "Job" ) ; PlayerData [ playerid ] [ Job ] = strval ( Query ) ; mysql_fetch_field_row ( Query , "Admin" ) ; PlayerData [ playerid ] [ Admin ] = strval ( Query ) ; SendClientMessage( playerid , ~0 , "INFO: Te-ai logat cu succes "); new str[700]; format ( str , 700 , "Bine ai revenit %s!\n\nSunteti membru din data de: %s.\nParola dumneavoastra: %s\n" , Name , registerdate , password ) ; format ( str , 700 , "%sEmailul dumneavoastra: %s\nAi aflat de serverul nostru de la: %s \n" , str , email , Refered ) ; format ( str , 700 , "%sTu esti din: %s\nEsti nascut pe data de: %s \n" , str , regiune , DataDeNastere ) ; format ( str , 700 , "%sNumele tau real este: %s\n Esti de profesie: %s\nEsti de sex: %s" , str , NumeReal , Profesie , sex ); ShowPlayerDialog ( playerid , DIALOG_INFORMATII , DIALOG_STYLE_BOX , "Informatii" , str , "Ok" , "" ) ; } else { SetPlayerPos ( playerid , -2450.38, -74.72, 33.48 ) ; SetPlayerCameraPos ( playerid , -2459.38, -74.72, 36.48 ) ; SetPlayerCameraLookAt ( playerid , -2459.63, -79.67, 37.14 ) ; ShowPlayerDialog ( playerid , DIALOG_LOGIN , DIALOG_STYLE_INPUT , "Login" , "{999999}Va rugam sa scrieti parola cu care v-ati intregistrat mai jos.\n{FF3300}Daca ati uitat parola puteti sa o recuperati de pe www.sa-mp.ro/rpg" , "Login" , "Kick" ) ; mysql_free_result ( ) ; new string [ 128 ] ; PlayerPasswordWRONG [ playerid ] += 1 ; format ( string , sizeof ( string ) , ""EROARE"ERROR: "ALB"Parola incorecta mai ai %d/4 incercari ! " , PlayerPasswordWRONG ) ; SendClientMessage ( playerid , ~0 , string ) ; if ( PlayerPasswordWRONG [ playerid ] == 4 ) { Kick ( playerid ) ; } return 1 ; } mysql_free_result ( ) ; return 1 ; }[/pawn] 657: [pawn]if ( mysql_retrieve_row ( ) ) { mysql_fetch_field_row ( Query , "AccountRegister" ) ; } mysql_free_result ( ) ; if ( AccountRegister [ playerid ] == 1 ) { SetPlayerPos ( playerid , -2450.38, -74.72, 33.48 ) ; SetPlayerCameraPos ( playerid , -2459.38, -74.72, 36.48 ) ; SetPlayerCameraLookAt ( playerid , -2459.63, -79.67, 37.14 ) ; ShowPlayerDialog ( playerid , DIALOG_LOGIN , DIALOG_STYLE_INPUT , "Login" , "{999999}Va rugam sa scrieti parola cu care v-ati intregistrat mai jos.\n{FF3300}Daca ati uitat parola puteti sa o recuperati de pe www.sa-mp.ro/rpg" , "Login" , "Kick" ) ; } else if ( AccountRegister [ playerid ] == 0 ) { SetPlayerPos ( playerid , -2450.38, -74.72, 33.48 ) ; SetPlayerCameraPos ( playerid , -2459.38, -74.72, 36.48 ) ; SetPlayerCameraLookAt ( playerid , -2459.63, -79.67, 37.14 ) ; ShowPlayerDialog ( playerid , DIALOG_REGISTER , DIALOG_STYLE_INPUT , "Register" , "{999999}Va rugam sa scrieti mai jos o parola cu care veti putea securiza contul.\nTotodata puteti sa va inregistrati de pe site-ul nostru, {FF3300}www.sa-mp.ro/rpg" , "Register" , "Kick" ) ; } return 1 ; } [/pawn]
  15. Salut,am si eu o comanda /aod si vreau sa fac cand adminul este /aod sa apara cu o anumita culoare pe harta. La mine este setat ShowPlayerMarkers(0) vreau sa se vada doar adminul /aod si cand scoate /aod sa revina la normal
  16. Salut,cand intru pe un server (sau cand fac tutorialul pic din cer si dupa ma da intr'un satuc) cand imi dau respawn ma da tot in satucul respectiv,cineva mi'a zis ca trebuie sa setez spawn civil l'am setat si tot la fel (deci comenzile merg)
  17. Salut,cine ma poate ajuta sa fac o comanda prin care poti pune tot felul de objecte cladiri tuburi rampe etc (gen LM) si o comanda de exemplu /destroyobject prin care sa dispara acele objecte create de admini
  18. sL0w^

    Intrebare

    deci cand pun in server.cfg in loc de audio.dll audio.so nu se mai porneste serverul iar cand las audio.dll scrie la mod unknown
  19. sL0w^

    Intrebare

    Salut,am o intrebare: de ce imi scrie unknown la gamemod cand il pun pe host? :|
  20. sL0w^

    Intrebare

    Mersi stuntman :* lipseau niste foldere din scriptfiles mersi :*
  21. sL0w^

    Intrebare

    scuze pentru post dublu dar chiar trebuie sa rezolv aceasta problema cat mai repede
  22. sL0w^

    Intrebare

    Am luat junkbuster 9 si tot asa imi face #consola ramane deschisa dar la server list nu apare ca e deschis si in consola se tot reseteaza
  23. sL0w^

    Intrebare

    da am schimbato dar imi da ceva si cu function "JB_OnPlayerConnect" should return a value
  24. sL0w^

    Intrebare

    Salut, am o intrebare si anume: de ce serverul se deschide 3 secunde si se inchide dar consola ramane deschisa daca vreti va pun si poza . Si imi da si warning cu function "JB_OnPlayerConnect" should return a value
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.