-
Posts
21,935 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Castillo
-
To my eyes, that mod is quite dead, it lacks a lot of things, and that's what made players leave in the first place.
-
Ah, le quitaste los codigos de color al agregarlos a la grid list, por eso es que getPlayerFromName devolvia false, ya que el jugador no existia.
-
Por lo que parece, el jugador no existe. if not playerName then guiGridListRemoveRow(row) return end Eso no esta del todo bien, cambia "if not playerName then" a "if not player then".
-
addCommandHandler ( "handcuff", function ( thePlayer, _, who ) local target = getPlayerFromName ( who ) -- Get the player from it's name if ( target ) then -- If the player exists setPedAnimation ( target, "SHOP", "SHP_Rob_Handsup", -1, true, false, false ) -- Set his/her animation setElementFrozen ( target, true ) -- Free him/her outputChatBox ( "Player ".. getPlayerName ( target ) .." was handcuffed by ".. getPlayerName ( thePlayer ) ..".", root, 255, 241, 0 ) -- Output a global message end end )
-
Well, it would help if you told us what you are trying to do.
-
That doesn't really make much sense. You got there: "player" and "source". You also used addEvent and addEventHandler, but it doesn't make any sense, because you also used addCommandHandler ( in a wrong way by the way ).
-
Why don't you try it and see the result?
-
Te junte todos los videos en un solo post.
-
I doubt that's possible.
-
Settings > Binds > Load Defaults
-
If the code is client side, then you must remove thePlayer from showCursor.
-
Te pido que empiezes a editar tu ultimo post y agregues los videos en el mismo, el spam es innecesario.
-
Try with that, it should work if "ColShape" is indeed a colshape.
-
GUIEditor = { window = {}, label = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(277, 165, 540, 326, "Gta-Ar Admin Rules", false) guiWindowSetSizable(GUIEditor.window[1], false) adminrules = guiCreateTabPanel(11, 22, 519, 294, false, GUIEditor.window[1]) Arabic = guiCreateTab("Arabic", adminrules) English = guiCreateTab("English", adminrules) GUIEditor.memo[1] = guiCreateMemo(4, 3, 511, 263, "[Gta-Ar] Admin Rules:\n\nMute:\n\n1) Mini Insults = 1 hour Mute; ex.(:~,ass,damn,dog,bitch)\n2) Big Insults = 5 hour Mute; ex.(,dick,_!_,)\n3) Spam = 30min Mute; ex.(0000000000000000000, or r939393939398jdffd;sfs2)\n4) Annoy Admin = 30min Mute; ex.( Admin Give Me Money or Admin warp)\n5) If Player Insults Admn = Mute 12 Hours\n\n\nKick:\n\n1) If Player is Shoving in Mission\n2) If Player is Blocking in Mission\n3) If Player is in SafeZone and has the Moneybag or BriefCase then Kick\n4) If Player has a Group Tag and not in that Group then Kick\n5) If Player has another Server Tag then Kick\n6) If Players Name is To Short(under 4 characters) = Kick\n7) If Players Name Contains Any Illegal Words = Kick; ex.(MrBitch,)\n\nBan:\n\n1) If Player Advertises For Another Server = Ban 30days\n2) If Player Insults Server = Ban Permenant\n3) If Player refuses to Change Name = Ban 1 Hour\n4) If Player Kills Near Mission = Ban 5 Hours\n5) If Player Does a Bug = Ban Permenant\n6) If Player is being Racist = Ban Permenant\n\nRules For Admin:\n\n1) Follow All Rules Above & Below\n\n2) Be in Game 3 Hours A Day; If going on Vacation make Thread on Forum and wait for Developer To Reply.\n\n3) Be active in TeamSpeak 3 for 3 Hours a Day\n\n4) Dont unmute anyone unless have permission from Developer or The Person who \n gave the mute.\n\n5) Dont ask for Promotion\n\n6) Dont Abuse Powers in which will affect The People around you who are Playing.\n7) Always Help! DONT IGNORE PLAYERS.\n\n If Anyone complains about being hacked, or being scamed make sure they have \n Proof( Picture, or video)\n\n9) If a Admin Bans Someone, only they or a Developer can unban the person. If you \n want the person to be unban speak with the admin who ban him or Developer\n\n10) All Admins must Follow these Rules, If they Dont and have 3 or more warnings \n then they will be revoked. ( ONLY CONSOLE OR DEVELOPERS GIVE WARNINGS)", false, English) Spanish = guiCreateTab("Spanish", adminrules) GUIEditor.label[1] = guiCreateLabel(367, 27, 153, 15, " Made By [Gta-Ar]#Ivan7", false, GUIEditor.window[1]) GUIEditor.window[2] = guiCreateWindow(277, 165, 540, 326, "Gta-Ar Admin Rules", false) guiWindowSetSizable(GUIEditor.window[2], false) adminrules = guiCreateTabPanel(11, 22, 519, 294, false, GUIEditor.window[2]) Arabic = guiCreateTab("Spanish", adminrules) GUIEditor.memo[2] = guiCreateMemo(5, 3, 509, 262, [[ \n[Gta-Ar] Reglas admin: \n \nMute: \n \n1) Mini Insultos = 1 hora de silencio; ex. (mierda, culo, maldito, perro, perra) \n2) Grandes Insultos = 5 horas de silencio; ex. (coño, polla, _! _, coño) \n3) Spam = Mute 30min; ex. (0000000000000000000 o r939393939398jdffd; SFS2) \n4) Annoy admin = Mute 30min; ex. (Admin Dame dinero o urdimbre Admin) \n5) Si el jugador Insultos ADMN = Mute 12 Horas \n \n \nKick: \n \n1) Si el jugador está empujando en Mission \n2) Si el jugador está bloqueando en Mission \n3) Si el jugador está en SafeZone y tiene el monedero o maletín luego del retroceso \n4) Entonces, si el jugador tiene una etiqueta de grupo y no en el grupo Kick \n5) Si el jugador entonces tiene otra etiqueta Servidor Kick \n6) Si los jugadores Nombre es Para corto plazo (menos de 4 caracteres) = Kick \n7) Si los jugadores Nombre Contiene cualquier palabra Ilegales = Kick; ex. (MrBitch, ) \n \nBan: \n \n1) Si el jugador anuncia para otro servidor = Ban 30 días \n2) Si el jugador Insultos Servidor = Ban permenant \n3) Si el jugador se niega a cambiar Name = Ban 1 Hora \n4) Si el Jugador Muertes zona de Mission = Ban 5 Horas \n5) Si el jugador ¿Un Bug = Ban permenant \n6) Si el jugador es ser racista = Ban permenant \n \nReglas for Admin: \n \n1) Siga todas las reglas sobre y abajo \n \n2) Estar en el Juego 3 horas al día; Si vas de vacaciones a hacer rosca en Foro y esperar Desarrollador De contestar. \n \n3) Tener un estado activo en TeamSpeak 3 para 3 horas al día \n \n4) No te desenmudecer nadie a menos que tenga permiso del desarrollador o la persona que \n dio el mudo. \n \n5) No te pido para la Promoción \n \n6) Poderes Dont Abuso en la que afectará a la gente a tu alrededor que están jugando. \n \n7) Siempre Help! NO IGNORAR LOS JUGADORES. \n \n8) Si alguien se queja de ser hackeado, o ser scamed asegurarse de que tienen \n Prueba (imagen o video) \n \n9) Si un administrador Bans Alguien, sólo ellos o un desarrollador puede eliminar la prohibición a la persona. Si \n quiere que la persona sea hablar eliminar la prohibición con el administrador que él o desarrollador prohibir \n \n10) Todos los administradores deben seguir estas reglas, si ellos no y tienen 3 o más advertencias \n entonces van a ser revocados. (SOLO CONSOLA O DESARROLLADORES DE DAR ADVERTENCIAS)]], false, Arabic) English = guiCreateTab("English", adminrules) GUIEditor.memo[3] = guiCreateMemo(4, 3, 511, 263, "[Gta-Ar] Admin Rules:\n\nMute:\n\n1) Mini Insults = 1 hour Mute; ex.(:~,ass,damn,dog,bitch)\n2) Big Insults = 5 hour Mute; ex.(,dick,_!_,)\n3) Spam = 30min Mute; ex.(0000000000000000000, or r939393939398jdffd;sfs2)\n4) Annoy Admin = 30min Mute; ex.( Admin Give Me Money or Admin warp)\n5) If Player Insults Admn = Mute 12 Hours\n\n\nKick:\n\n1) If Player is Shoving in Mission\n2) If Player is Blocking in Mission\n3) If Player is in SafeZone and has the Moneybag or BriefCase then Kick\n4) If Player has a Group Tag and not in that Group then Kick\n5) If Player has another Server Tag then Kick\n6) If Players Name is To Short(under 4 characters) = Kick\n7) If Players Name Contains Any Illegal Words = Kick; ex.(MrBitch,)\n\nBan:\n\n1) If Player Advertises For Another Server = Ban 30days\n2) If Player Insults Server = Ban Permenant\n3) If Player refuses to Change Name = Ban 1 Hour\n4) If Player Kills Near Mission = Ban 5 Hours\n5) If Player Does a Bug = Ban Permenant\n6) If Player is being Racist = Ban Permenant\n\nRules For Admin:\n\n1) Follow All Rules Above & Below\n\n2) Be in Game 3 Hours A Day; If going on Vacation make Thread on Forum and wait for Developer To Reply.\n\n3) Be active in TeamSpeak 3 for 3 Hours a Day\n\n4) Dont unmute anyone unless have permission from Developer or The Person who \n gave the mute.\n\n5) Dont ask for Promotion\n\n6) Dont Abuse Powers in which will affect The People around you who are Playing.\n7) Always Help! DONT IGNORE PLAYERS.\n\n If Anyone complains about being hacked, or being scamed make sure they have \n Proof( Picture, or video)\n\n9) If a Admin Bans Someone, only they or a Developer can unban the person. If you \n want the person to be unban speak with the admin who ban him or Developer\n\n10) All Admins must Follow these Rules, If they Dont and have 3 or more warnings \n then they will be revoked. ( ONLY CONSOLE OR DEVELOPERS GIVE WARNINGS)", false, English) Spanish = guiCreateTab("Arabic", adminrules) GUIEditor.memo[4] = guiCreateMemo(3, 4, 512, 262, [[[Gta-Ar]Golden \nقوانين الادمنية \n \nالميوت : \n1- السب = ميوت ساعة ( مثل : دعس , زق , كلب , الخ ... ) \n2- سب الاهل = ميوت يوم ( مثل :ابن كلب , الخ ) \n3- السب +18= ميوت يومين \n4- تخريب الشات بعبارات غير مفهومة او تطويل الشات = ميوت 30 دقيقة \n5- ازعاج الادمنية = ميوت 30 دقيقة \n \nالكيك : \n1- تخريب المهمات ( الدفع في المهمات والتخريب على اللاعبين ) \n2- سد الطريق بأي نوع من الانواع \n3- الخطف او حمل الشنطة داخل منطقة السيف زون \n4- وضع شعار سيرفر اخر (تحذير 3 مرات بعدها باند ساعة) \n5- وضع شعار عصابة غير منضم لها \n6- الاسماء الوهمية اقل من 4 احرف (تحذير 3 مرات بعدها باند ساعة) \n7- الاسماء المسيئة \n8- اغلاق خاصية السكرين شوت (تحذير 3 مرات بعدها باند ساعة ) \n \nالباند : \n1- نشر سيرفر غير متعلق بسيرفرات جراند العرب الرسمية = باند 30 يوم \n2- سب السيرفر او الادارة = باند مؤبد \n3- رفض تغير الاسم الوهمي او حذف شعار السيرفر = باند ساعة \n4- القتل امام المهمة اقل من 5 دقائق = باند 5 ساعات \n5- استخدام البق وعدم التبليغ عنه = باند مؤبد \n6- العنصرية بجميع انواعها = باند مؤبد \n \nقوانين الادمنية : \n1- اتباع جميع القوانين اعلاه \n2- التواجد في السيرفر ما لا يقل عن 3 ساعات يوميا \n3- التواجد في التيم سبيك بشكل مستمر \n4- عدم ازالة الميوت عن اي لاعب مهما كان الا باذن الادارة او الادمن الي اعطاه الميوت \n5- عدم طلب ترقيات \n6- عدم استخدام الادمنية لصالحك والتخريب على اللاعبين \n7- المساعدة بشكل مستمر وعدم تجاهل الزوار \n8- الاطلاع على بلاغات اللاعبين بشكل مستمر وعدم اهمالها \n9- على جميع الادمنية اتباع القوانين وعند مخالفتها سوف يعرض نفسه الى الانذارات]], false, Spanish) GUIEditor.label[2] = guiCreateLabel(367, 27, 153, 15, " Made By [Gta-Ar]#Ivan7", false, GUIEditor.window[2]) end ) bindKey ( "F2", "down", function ( ) guiSetVisible ( GUIEditor.window[1], not guiSetVisible( GUIEditor.window[1] ) ) showCursor ( guiGetVisible( GUIEditor.window[1] ) ) end)
-
What is that for?
-
ScriptMTA.co.nr - Selling MTA Resources Cheaply
Castillo replied to ScriptMTA.co.nr's topic in Resources
Seeking for argument, ha? I don't have time for this anyway. This site is owned by my pal Kevin, who is a coder also. I'm just a co-owner. There is nothing pathetic about confirming that something posted by an virtually reputation-less user is legit, especially since I have done many transactions in the past and a lot of people can trust and vouch for me. Not at all, I'm not looking for an argument. -
It's cool and all, but if you throw like 3 at the same time, it lags a lot.
-
That meta.xml is wrong: "esporta" type="script" description="Staff Skin!" /> Try that.
-
If you mean add a new fuel pump to that XML file, then you must use the XML functions. https://wiki.multitheftauto.com/wiki/Se ... _functions xmlCreateChild xmlNodeSetAttribute
-
The problem with setElementData is that "robber" and "assistant" variables aren't defined, I think the problem is that you wanted to put a string, so it would be like this: setElementData ( g,"Robbery", "robber" ) And the problem with getElementsWithinColShape is that the colshape doesn't exist for what it seems.
-
Is the file "staffmale.txd" loaded in the meta.xml?
-
You wrote "bindkey" but is "bindKey".
-
ScriptMTA.co.nr - Selling MTA Resources Cheaply
Castillo replied to ScriptMTA.co.nr's topic in Resources
You are confirming that your own site is legit? that's quite pathetic, don't you think? Anyway, good luck. -
I don't think using coordinates is a good idea, you should use IDs/names.
-
Well, that won't work, because when you create the marker, you take 1 from the Z position, but when you try to delete it, you don't add 1 to the Z position.