Peršokti į turinį

viliausas

Narys
  • Pranešimų skaičius

    21
  • Užsiregistravo

  • Paskutinį kartą lankėsi

  • Atsiliepimai

    0%
  • Forumo eurai

    0 +Pervesti

Reputacijos taškai

3 Bus matyti ko vertas

Apie viliausas

  • Nario rangas
    Žalias (-ia)
  1. viliausas

    SA-MP MAP construction / MTA parsisiuntimas ir kt.

    Na mano manymu MTA idėja nėra vien mappinimas...
  2. Sveiki supergames.lt forumo lankytojai. Man reikėtų pagalbos. Kadangi nusprendžiau kažką kurti nuo balto lapo tai iš kart pasipylė problemos, lyg ir viską suprantu, bet tikriausiai kažkas su gramatika blogai čia yra. "PROG. KALBOS. GRAMATIKA". Vienu žodžiu, klaida: C:\Users\Viliaus\Desktop\srw\pawno\Untitled.pwn(180) : error 004: function "SData" is not implemented C:\Users\Viliaus\Desktop\srw\pawno\Untitled.pwn(386) : error 004: function "LData" is not implemented C:\Users\Viliaus\Desktop\srw\pawno\Untitled.pwn(396) : error 029: invalid expression, assumed zero C:\Users\Viliaus\Desktop\srw\pawno\Untitled.pwn(396) : error 004: function "OnPlayerClickPlayer" is not implemented C:\Users\Viliaus\Desktop\srw\pawno\Untitled.pwn(400) : warning 225: unreachable code C:\Users\Viliaus\Desktop\srw\pawno\Untitled.pwn(400) : error 029: invalid expression, assumed zero C:\Users\Viliaus\Desktop\srw\pawno\Untitled.pwn(400) : error 017: undefined symbol "cmd_makeadmin" C:\Users\Viliaus\Desktop\srw\pawno\Untitled.pwn(400) : error 029: invalid expression, assumed zero C:\Users\Viliaus\Desktop\srw\pawno\Untitled.pwn(400) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 8 Errors. O pats skriptas toks: // This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #include <a_samp> #include <a_samp> #include <dini> #include <dudb> #include <dutils> #include <ZCMD> #pragma unused ret_memcpy /* ** Colours ** */ #define GREEN "{0x6EF83C}" #define RED "{0xF81414}" #define BLUE "{00C0FF}" #define SCM SendClientMessage #define SCMTA SendClientMessageToAll #define MSGBOX DIALOG_STYLE_MSGBOX //enumai enum PlayerInfo{ darbas, admin, vipas, pinigai, xp } //enumai new PInfo[MAX_PLAYERS][PlayerInfo]; new bool:Logged[MAX_PLAYERS]; forward LData(playerid); forward SData(playerid); #if defined unused public OnFilterScriptInit() { return 1; } #endif public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("MVps RP 0.1"); print("MVps RolePlay initialising"); AddPlayerClass(0,1769.9305,-1861.5104,13.5774,359.4009,0,0,0,0,0,0); return 1; } main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerConnect(playerid) { Logged[playerid] = false; new file[127], vardas[127]; GetPlayerName(playerid, vardas, 127); format(file,128,"zaidejai/%s.ini",vardas); if(!dini_Exists(file)) { ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"{0x6EF83C}MVps Registration","If you want to play in the server you must register.\nEnter your password below that you will use in the future.\nIf you press Exit, write /q to quit the game.","Register","Exit"); } else { ShowPlayerDialog(playerid,2,DIALOG_STYLE_PASSWORD,"{0x6EF83C}MVps Login","You are registered on the server.\nEnter your password below to continue.\nIf you press Exit, write /q to quit the game.","Login","Exit"); } return 1; } public OnPlayerDisconnect(playerid, reason) { if(Logged[playerid] == true) { 180 SData(playerid); Logged[playerid] = false; } return 1; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { return 0; } public OnPlayerCommandPerformed(playerid,cmdtext[],success) { if(!success) SendClientMessage(playerid,0xFF0000FF, "There is no command like that!"); return 1; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnVehicleMod(playerid, vehicleid, componentid) { return 1; } public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { return 1; } public OnVehicleRespray(playerid, vehicleid, color1, color2) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { return 1; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { return 1; } public OnRconLoginAttempt(ip[], password[], success) { return 1; } public OnPlayerUpdate(playerid) { return 1; } public OnPlayerStreamIn(playerid, forplayerid) { return 1; } public OnPlayerStreamOut(playerid, forplayerid) { return 1; } public OnVehicleStreamIn(vehicleid, forplayerid) { return 1; } public OnVehicleStreamOut(vehicleid, forplayerid) { return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 1) { if(response) { new file[128], vardas[128]; GetPlayerName(playerid,vardas,128); format(file,128,"zaidejai/%s.ini",vardas); dini_Create(file); dini_IntSet(file,"Slaptazodis",udb_hash(inputtext)); Logged[playerid] = true; SendClientMessage(playerid,0xFFFFFFFF,"You've successfully registered on the server."); } else if(!response) { Kick(playerid); } return 1; } if(dialogid == 2) { if(response) { new file[128], vardas[128], pass[256]; GetPlayerName(playerid, vardas, 128); format(file,128,"zaidejai/%s.ini",vardas); pass = dini_Get(file,"Slaptazodis"); if(udb_hash(inputtext) != strval(pass)) { ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"{0x6EF83C}MVps Login","You are registered on the server.\nEnter your password below to continue.\nIf you press Exit, write /q to quit the game.","Login","Exit"); SendClientMessage(playerid,0xFFFFFFFF,"You've successfully logged in."); } else { Logged[playerid] = true; SendClientMessage(playerid,0xFFFFFFFF,"Jus sekmingai prisijungete"); 385 LData(playerid); } } else if(!response) { Kick(playerid); } return 1; } 395 public OnPlayerClickPlayer(playerid, clickedplayerid, source) { return 1; } 399 CMD:makeadmin(playerid, params[]) { PInfo[playerid][admin] += 1; return 1; } CMD:acmds(playerid, params[]) { if(PInfo[playerid][admin] == 0) { SCM(playerid, 0x00C0FF, "You're not an admin, so you're not allowed to use this command."); return 1; } else { ShowPlayerDialog(playerid, 0, MSGBOX, "Help menu", "1. Admin commands: /acmds\n2.\n3.................. ...", "Close", ""); } return 1; } CMD:namas(playerid, params[]) { SetPlayerPos(playerid,-2896.9551,204.5364,4.4532); return 1; } CMD:help(playerid, params[]) { ShowPlayerDialog(playerid, 0, MSGBOX, "Help menu", "1. Admin commands: /acmds\n2.\n3.................. ...", "Close", ""); return 1; } public LData(playerid) { new name[MAX_PLAYER_NAME], file[256]; GetPlayerName(playerid, name, sizeof(name)); format(file, sizeof(file), "zaidejai/%s.ini", name); Logged[playerid] = true; SetPlayerScore(playerid, dini_Int(file, "Score")); GivePlayerMoney(playerid, dini_Int(file, "Money")); PInfo[playerid][admin] = dini_Int(file, "Admin"); return 1; } public SData(playerid) { new name[MAX_PLAYER_NAME], file[256]; GetPlayerName(playerid, name, sizeof(name)); format(file, sizeof(file), "zaidejai/%s.ini", name); dini_IntSet(file, "Score", GetPlayerScore(playerid)); dini_IntSet(file, "Money", GetPlayerMoney(playerid)); dini_IntSet(file, "Admin",PInfo[playerid][admin]); return 1; } Ačiū už pagalbą.
  3. Sveikas, ieškai geros muzikos bet niekur nerandi? Prisijunk prie mūsų plug.dj bendruomenės ir papildyk savo muzikos grojaraščius. Būsi laukiamas arba laukiama :* http://plug.dj/linksma-kompanija-linksma-muzika/
  4. Sveiki visi . Man reiktų pagalbos. Radau scriptą su kurio susikuri filterscriptą, bet! Nežinau kaip reikia įsikelti tuos matuoklius #include forward Matuojam(playerid, Float:X, Float:Y, Float:Z); forward Baigiam(playerid); new bool:pamatavo[MAX_PLAYERS]; public Baigiam(playerid) { pamatavo[playerid] = false; return 1; } public Matuojam(playerid, Float:X, Float:Y, Float:Z) { if(pamatavo[playerid] == true) return 1; if(IsPlayerInRangeOfPoint(playerid, 10, X, Y, Z)) { if(GetPlayerSpeed(playerid, true) > 70) { SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)+2); SendClientMessage(playerid, 0x0000FFFF, "Jūs viršijote leistiną greitį (70km/h)"); pamatavo[playerid] = true; SetTimerEx("Baigiam", 2000, 0, "i", playerid); } } return 1; } Matuoklis(Float:X, Float:Y, Float:Z, Float:A) { CreateObject(18880, -1999.0673,238.0236,29.0197,146.3303, A); SetTimerEx("Matuojam", 1000, 1, "fff", X, Y, Z); } GetPlayerSpeed(playerid,bool:kmh) { new Float:Vx,Float:Vy,Float:Vz,Float:rtn; if(IsPlayerInAnyVehicle(playerid)) GetVehicleVelocity(GetPlayerVehicleID(playerid),Vx,Vy,Vz); else GetPlayerVelocity(playerid,Vx,Vy,Vz); rtn = floatsqroot(floatabs(floatpower(Vx + Vy + Vz,2))); return kmh?floatround(rtn * 100 * 1.61):floatround(rtn * 100); } Ten kur yra pažymėta Creatobject, ten bandžiau aš įvesti koordinates, bet neveikia, gal galit padėt?
  5. Sveiki visi . Man reiktų pagalbos. Radau scriptą su kurio susikuri filterscriptą, bet! Nežinau kaip reikia įsikelti tuos matuoklius #include forward Matuojam(playerid, Float:X, Float:Y, Float:Z); forward Baigiam(playerid); new bool:pamatavo[MAX_PLAYERS]; public Baigiam(playerid) { pamatavo[playerid] = false; return 1; } public Matuojam(playerid, Float:X, Float:Y, Float:Z) { if(pamatavo[playerid] == true) return 1; if(IsPlayerInRangeOfPoint(playerid, 10, X, Y, Z)) { if(GetPlayerSpeed(playerid, true) > 70) { SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)+2); SendClientMessage(playerid, 0x0000FFFF, "Jūs viršijote leistiną greitį (70km/h)"); pamatavo[playerid] = true; SetTimerEx("Baigiam", 2000, 0, "i", playerid); } } return 1; } Matuoklis(Float:X, Float:Y, Float:Z, Float:A) { CreateObject(18880, -1999.0673,238.0236,29.0197,146.3303, A); SetTimerEx("Matuojam", 1000, 1, "fff", X, Y, Z); } GetPlayerSpeed(playerid,bool:kmh) { new Float:Vx,Float:Vy,Float:Vz,Float:rtn; if(IsPlayerInAnyVehicle(playerid)) GetVehicleVelocity(GetPlayerVehicleID(playerid),Vx,Vy,Vz); else GetPlayerVelocity(playerid,Vx,Vy,Vz); rtn = floatsqroot(floatabs(floatpower(Vx + Vy + Vz,2))); return kmh?floatround(rtn * 100 * 1.61):floatround(rtn * 100); } Ten kur yra pažymėta Creatobject, ten bandžiau aš įvesti koordinates, bet neveikia, gal galit padėt?
  6. viliausas

    Donces GM kolekcija

    Aš nesuprantu vieno dalyko. Paaiškinkit man. Kodėl man rodo "Tokio failo nėra", nors katik papostinta?
  7. viliausas

    rls

    Fail
  8. viliausas

    Atiduodu Unikalu Lt-life.lt GM

    Jeigu iššsamiai Antivirusinė apie "virusa" aprašo, pasakitykit "Skype Spammer"...
  9. viliausas

    Atiduodu Unikalu Lt-life.lt GM

    -R3P
  10. viliausas

    LTG 2.0.0[GM] Mano Editas

    Vat linkas : http://www.failai.lt/6w1lj8aeogg4/ltg.2.0.0_[GM].rar Jei padėjau +R3P please.
  11. viliausas

    Atiduodu Jum RMG 2.1 - Realus Miesteliu Gyvenimas !

    Rodo kad Failo Nėra, įmesk į http://www.failai.in
  12. viliausas

    [ Unikalus GameModas ] eSamp.lt - San Fierro

    Num...
  13. viliausas

    [ Unikalus GameModas ] eSamp.lt - San Fierro

    Ką pakeitei ? Arba idėjai? Iš vis nieko. Tiesiog išarchyvavau viska, paleidau pawno kur buvo prie to tavo GM ir pakeičiau ten vietas kur pagr. admin skype arba jei nori vip rašyk į skypę:(pakeičiau) bandau kompiliuot. Neeina Pridek mane į skype. Jau kviečiau. Esu Glif159. Kad nereiktų čia forumuosę žaist Arba jei žinai išeitį tai čia rašyk Ačių iš anksto. Dedu +REP, nors dar ir nepadėjai. Bet sukūrei tokį nuostabų GM!!! Lauksiu
  14. viliausas

    [ Unikalus GameModas ] eSamp.lt - San Fierro

    Sveiki visi (taip pat ir skipperi) Norėčiau paprašyti visų pagalbos. Susidūriau su tokia problema. Kai noriu compiliuoti šį GM, man išmeta štai šį error'ą: "data/menu.txt(726) : error 017: undefined symbol "GetPlayerMoneyA" data/menu.txt(746) : error 017: undefined symbol "GivePlayerMoneyA" data/menu.txt(798) : error 017: undefined symbol "GetPlayerMoneyA" data/menu.txt(823) : error 017: undefined symbol "GetPlayerMoneyA" data/menu.txt(844) : error 017: undefined symbol "GetPlayerMoneyA" data/menu.txt(852) : error 017: undefined symbol "Modinimas" data/menu.txt(887) : error 017: undefined symbol "GetPlayerMoneyA" data/menu.txt(895) : error 017: undefined symbol "Modinimas" data/menu.txt(914) : error 017: undefined symbol "GetPlayerMoneyA" data/menu.txt(922) : error 017: undefined symbol "Modinimas" data/menu.txt(934) : error 017: undefined symbol "GetPlayerMoneyA" data/menu.txt(942) : error 017: undefined symbol "Modinimas" data/menu.txt(966) : error 017: undefined symbol "GetPlayerMoneyA" data/menu.txt(974) : error 017: undefined symbol "Modinimas" data/menu.txt(976) : error 017: undefined symbol "Modinimas" data/menu.txt(1001) : error 017: undefined symbol "GetPlayerMoneyA" data/menu.txt(1009) : error 017: undefined symbol "Modinimas" data/menu.txt(1011) : error 017: undefined symbol "Modinimas" data/menu.txt(1036) : error 017: undefined symbol "GetPlayerMoneyA" data/menu.txt(1044) : error 017: undefined symbol "Modinimas" data/menu.txt(1068) : error 017: undefined symbol "GetPlayerMoneyA" data/menu.txt(1076) : error 017: undefined symbol "Modinimas" data/menu.txt(1091) : error 017: undefined symbol "GetPlayerMoneyA" data/menu.txt(1099) : error 017: undefined symbol "Modinimas" data/menu.txt(1112) : error 017: undefined symbol "GetPlayerMoneyA" data/menu.txt(1120) : error 017: undefined symbol "Modinimas" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors." Kas man padės, atsidėkosiu atiduodamas visus savo FLT bei +REP ilgą laiką. Tikrai nenoriu nieko apgaudinėti
  15. viliausas

    Los Santos GM! GRP 4.2

    P.s. pas mane adminlygis=... o kai adminlygis=3 pasidarau, neveikia.

×