Jump to content

The_Gun

Membru
  • Posts

    46
  • Joined

  • Last visited

Everything posted by The_Gun

  1. Am facut ca acolo,dar cand vreau sa-l compilez imi da o eroare C:\Users\User\Desktop\guninfo.pwn(5) : error 010: invalid function or declaration C:\Users\User\Desktop\guninfo.pwn(13) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error. Acesta este filtrescriptul [pawn]#include <a_samp> new guninfo; guninfo = CreatePickup(1239, 23, 322.422790,-1189.406005,76.352348); public OnPlayerPickUpPickup(playerid, pickupid) { if (pickupid == guninfo) { GameTextForPlayer(playerid, "Text", 5000, 3);// } return 1; }[/pawn]
  2. Sa zicem ca am rezolvat cu prima problema,acum sa nu deschid alt topic,cum pot sa fac asa ceva Cand cineva se pune pe acel "i" sa ii apara un text pus de mine
  3. Am facut o mapa cu o parcare mare,cum as putea sa adaug masini in parcarea pe care am facut-o ? Am icercat cu /save si sa pun codul acela in GM dar s-a dereglat totate masinile care erau pe server,cum as putea sa fac ?
  4. ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3c R5, (C)2005-2011 SA-MP Team [04:00:39] filterscripts = "" (string) [04:00:39] [04:00:39] Server Plugins [04:00:39] -------------- [04:00:39] Loading plugin: streamer.so [04:00:39] *** Streamer Plugin v2.5.2 by Incognito loaded *** [04:00:39] Loaded. [04:00:39] Loaded 1 plugins. [04:00:39] [04:00:39] Filter Scripts [04:00:39] --------------- [04:00:39] Loaded 0 filter scripts. [04:00:39] [SCRIPT]: Loaded 425 Cars [04:00:39] [GameMode]: Loaded 77 Houses [04:00:39] [GameMode]: Loaded 8 Bizzes [04:00:39] [GameMode]: Loaded 20 S-Bizzes [04:00:39] [FACTIONS]: Name:None, ID:0, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:PD, ID:1, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:FBI, ID:2, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:NB, ID:3, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:Fire/Ambulance, ID:4, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:LaCosaNostra, ID:5, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:Yakuza, ID:6, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:Mayor, ID:7, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:Hitman, ID:8, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:NewsReporter, ID:9, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:Taxi, ID:10, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:S.I., ID:11, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:Viva La Vida, ID:12, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:G-unit, ID:13, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:tcc, ID:14, Mats:0, Drugs:0, Money:0 [04:00:39] [FACTIONS]: Name:SRM, ID:15, Mats:0, Drugs:0, Money:0 [04:00:39] Loading 148 pickups... Loaded successfuly ! [04:00:39] [04:00:39] [junkbuster] Current JunkBuster configuration: [04:00:39] [junkbuster] - WeaponHack = 1 [04:00:39] [junkbuster] - MoneyHack = 1 [04:00:39] [junkbuster] - Jetpack = 0 [04:00:39] [junkbuster] - HealthHack = 1 [04:00:39] [junkbuster] - ArmourHack = 1 [04:00:39] [junkbuster] - DriveBy = 0 [04:00:39] [junkbuster] - Spam = 0 [04:00:39] [junkbuster] - CommandSpam = 0 [04:00:39] [junkbuster] - BadWords = 0 [04:00:39] [junkbuster] - CarJackHack = 1 [04:00:39] [junkbuster] - TeleportHack = 0 [04:00:39] [junkbuster] - MaxPing = 1000 [04:00:39] [junkbuster] - SpectateHack = 0 [04:00:39] [junkbuster] - Blacklist = 1 [04:00:39] [junkbuster] - IpBans = 1 [04:00:39] [junkbuster] - TempBans = 1 [04:00:39] [junkbuster] - SpawnKill = 1 [04:00:39] [junkbuster] - CapsLock = 0 [04:00:39] [junkbuster] - 3DSpeed = 0 [04:00:39] [junkbuster] - MaxSpeed = 220 [04:00:39] [junkbuster] - AdminImmunity = 1 [04:00:39] [junkbuster] - Advertisement = 1 [04:00:39] [junkbuster] - FreezeUpdate = 0 [04:00:39] [junkbuster] - SpawnTime = 10 [04:00:39] [junkbuster] - CheckpointTeleport = 1 [04:00:39] [junkbuster] - Airbreak = 1 [04:00:39] [junkbuster] - TankMode = 1 [04:00:39] [junkbuster] - WarnPlayers = 0 [04:00:39] [04:00:39] [junkbuster] 1 IP-bans have been loaded. [04:00:39] [junkbuster] 0 temporary bans have been loaded. [04:00:39] [junkbuster] 5 whitelist entries have been loaded. [04:00:39] [junkbuster] 4 blacklist entries have been loaded. [04:00:39] [junkbuster] 42 bad words have been loaded. [04:00:39] [junkbuster] 4 forbidden weapons have been loaded. [04:00:39] [junkbuster] JunkBuster has been configurated. [04:00:39] [junkbuster] JunkBuster has successfully been loaded. [04:00:39] [04:00:39] [04:00:39] Based on Original God Father 1.5 [04:00:39] ____________________________ [04:00:39] By: LuciaN and KrYpToN [04:00:39] [04:00:39] Number of vehicle models: 121
  5. Am gamemodul green-zone,am mai incercat sa il fac sa mearga dar fara rezultate,azi mi-am facut un server de samp in pc la mine si am bagat gm-ul,mirare a mers,cand am vrut sa il pun pe host,care ruleaza pe linux,in gamecp imi arata serverul on dar in samp imi arata ca e off,deci pe windows mi-a mers gm-ul iar pe linux nu,am doua pluginuri streamer si sscanf,cand l-am pus pe host gm-ul am scris in server.cfg si extensia la pluginuri .so dar nu a mers,oare de la ce ar putea fi?
  6. The_Gun

    Gamemod

    Pai am tot incercat sa il pun pe server dar ori nu porneste , ori porneste si nu merge,apare la mode 'unknown'..
  7. The_Gun

    Gamemod

    Am gm-ul greenzone dar nu-i dau de cap cum sa mearga,cine poate sa ma ajute sa il pun,multumesc
  8. Multumesc frumos a mers :)
  9. Nu stiu de ce nu mai merge sa il compilez,a mers de atatea ori acuma nu mai merge imi da 26 de erori C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(21639) : warning 217: loose indentation C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(22099) : warning 217: loose indentation C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(26828) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(26885) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(26938) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(27606) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(27665) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(28346) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(28374) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(28385) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(28445) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(28606) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(28616) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(28627) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(28675) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(28736) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(28745) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(28953) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(28980) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(29010) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(29018) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(29052) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(29060) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(29093) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(29138) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(29201) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(29259) : error 047: array sizes do not match, or destination array is too small C:\Users\Adrian\Desktop\gamemode334s\gm amx si pwn\webtcf.pwn(29267) : error 047: array sizes do not match, or destination array is too small Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors.
  10. The_Gun

    Cum rezolv

    Ma poate ajuta cineva ? Va rog frumos am mare nevoie
  11. The_Gun

    Cum rezolv

    Am pus si streamer deja il aveam,dar tot nu merge nu stiu ce sai mai fac
  12. The_Gun

    Cum rezolv

    Astea sunt #include <a_samp> #include <core> #include <float> #include <time> #include <file> #include <utils> #include <morphinc> #include <streamer> #include <yom_buttons> #include <JunkBuster> #include <SpikeStrip> #include <ChatColor> #include <Dini>
  13. The_Gun

    Cum rezolv

    e gamemodul green-zone,nu stiu ce pluginuri are,nu ma pricep asa bine doar pluginurile de mai sus le avea in acel folder
  14. The_Gun

    Cum rezolv

    Tot nu vrea..si nici nu am mysql.so doar .dll nu stiu de la ce poate fi..
  15. The_Gun

    Cum rezolv

    In folderu plugins am asa : Iar in server.cfg scriu linia : plugins streamer.so sscanf.so (serverul ruleaza pe linux)
  16. Sper ca am postat bine,am si eu un gm si cand il pun pe server nu porneste,are un folder plugins iar daca trec in server.cfg ce e in acel folder nu mai porneste,iar daca nu le trec porneste dar la mode apare unknown si nu merge gm.Cum as putea rezolva problema asta?Multumesc
  17. Eu pot iesi,dar de exemplu cine sta in chirie la mine in casa cand intra nu mai poate iesi si nu doar la casa mea.. Cred ca de comanda asta zici if(strcmp(cmd, "/exit", true) == 0) { if(IsPlayerConnected(playerid)) { if(HouseEntered[playerid] != 9999) { new i = HouseEntered[playerid]; if (IsPlayerInRangeOfPoint(playerid, 3,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz])) { SafeSetPlayerInterior(playerid,0); SafeSetPlayerPos(playerid,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][hEntrancez]); SetPlayerVirtualWorld(playerid,0); PlayerInfo[playerid][pVirWorld] = 0; HouseEntered[playerid] = 9999; if(HouseInfo[i][hHel] == 1) { new Float:tempheal; GetPlayerHealth(playerid,tempheal); if(tempheal < 100.0) { SetPlayerHealth(playerid,100.0); } } return 1; } } if(BizzEntered[playerid] != 9999) { new i = BizzEntered[playerid]; if (IsPlayerInRangeOfPoint(playerid, 3,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ])) { SafeSetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid, 0); OnPlayerExitFood(playerid); SafeSetPlayerPos(playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]); SetPlayerVirtualWorld(playerid, 0); BizzEntered[playerid] = 9999; } } new carid = GetPlayerVehicleID(playerid); if (IsABus(carid)) { TogglePlayerControllable(playerid, 1); SafeRemovePlayerFromVehicle(playerid); if (BusrouteEast[playerid][0] != 0 || BusrouteWest[playerid][0] != 0) BusrouteEnd(playerid, carid); } if (IsASweeper(carid)) { TogglePlayerControllable(playerid, 1); SafeRemovePlayerFromVehicle(playerid); } if(IsAHarvest(carid)) { if (carid != 0) { SetVehicleToRespawn(carid); } if(FarmerPickup[playerid][0] >= 1 && FarmerPickup[playerid][0] <= 22) { FarmerPickup[playerid][0]--; } TogglePlayerControllable(playerid, 1); SafeRemovePlayerFromVehicle(playerid); FarmerVar[playerid] = 0; DisablePlayerCheckpoint(playerid); } if(IsADrugHarvest(carid)) { if(DrugFarmerPickup[playerid][0] >= 1 && DrugFarmerPickup[playerid][0] <= 37) { DrugFarmerPickup[playerid][0]--; } TogglePlayerControllable(playerid, 1); SafeRemovePlayerFromVehicle(playerid); DrugFarmerVar[playerid] = 0; DisablePlayerCheckpoint(playerid); } if(IsASmuggleCar(carid)) { TogglePlayerControllable(playerid, 1); SafeRemovePlayerFromVehicle(playerid); SmugglerWork[playerid] = 0; DisablePlayerCheckpoint(playerid); } if(Decoding[playerid] == 1) { Decoding[playerid] = 0; KillTimer(DecoderTimer); HideDecoder(playerid); SendClientMessage(playerid, COLOR_NICERED, "You left the car, decoder stopped!"); decodecode = 0; Decoder = 0; } if(IsAnOwnableCar(carid) && CarInfo[carid][cOwned] == 0) { TogglePlayerControllable(playerid, 1); SafeRemovePlayerFromVehicle(playerid); } if(IsPlayerInAnyVehicle(playerid) && !engineOn[GetPlayerVehicleID(playerid)] && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { TogglePlayerControllable(playerid, 1); SafeRemovePlayerFromVehicle(playerid); } if(GetPlayerVehicleID(playerid) >= 112 && GetPlayerVehicleID(playerid) <= 130 || GetPlayerVehicleID(playerid) >= 135 && GetPlayerVehicleID(playerid) <= 154) { TogglePlayerControllable(playerid, 1); SafeRemovePlayerFromVehicle(playerid); } else if (IsPlayerInRangeOfPoint(playerid, 3,387.7978,173.8582,1008.3828)) { SafeSetPlayerInterior(playerid,0); SafeSetPlayerPos(playerid,1481.0206,-1771.1138,18.7958); PlayerInfo[playerid][pLocal] = 255; } else if (IsPlayerInRangeOfPoint(playerid, 6,-1404.5299,-259.0602,1043.6563)) { SafeSetPlayerInterior(playerid,0); SafeSetPlayerPos(playerid,2695.6235,-1704.6960,11.8438); } else if (IsPlayerInRangeOfPoint(playerid, 8,-1443.0554,-581.1879,1055.0472)) { SafeSetPlayerInterior(playerid,0); SafeSetPlayerPos(playerid,-2111.5686,-443.9720,38.7344); } else if (IsPlayerInRangeOfPoint(playerid, 8,-1464.7732,1557.5533,1052.5313)) { SafeSetPlayerInterior(playerid,0); SafeSetPlayerPos(playerid,-2080.3079,-406.0309,38.7344); } else if(NoFuel[playerid] == 1) { TogglePlayerControllable(playerid, 1); SafeRemovePlayerFromVehicle(playerid); NoFuel[playerid] = 0; } } new y, m, d; new h,mi,s; getdate(y,m,d); gettime(h,mi,s); format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /exit",d,m,y,h,mi,s,sendername); CommandLog(string); return 1; }
  18. Am si eu o mica problema pe server,cand cineva intra si il da in casa cand scrie /exit nu poate iesi din casa,cum as putea rezolva problema asta?
  19. Multumesc,cu asta am rezolvat si sa nu fac alt topic mai am o intrebare,cand sunt langa un player cum pot sa ii vad numele de la distanta mai mare,nu daca ma apropii mai mult de el
  20. Am facut rost de un gm merge dar obiectele care sunt sau care le pun eu nu se vad de la distanta,apar doar daca te apropii de ele si cand esti langa ele nu se vad cum trebuie,sunt transparente,cum pot face sa fie normale sa se vada chiar daca nu sunt langa ele,multumesc
  21. Salut,ma scuzati daca nu am postat unde trebuie dar sunt nou pe aici Deci am facut o harta si am pus garduri in jurul undei factiuni si vreau sa pun o usa dar nu stiu cum pot face ca acea usa sa se deschida printr-o comanda,daca puteti sa ma ajutati multumesc :)
×
×
  • 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.