Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. I supose the "thing" at the bottom is an Userpanel or something similar.
  2. Useless post, I don't see anything but showing a normal login GUI.
  3. That's what I also think, Arran.
  4. Castillo

    Selling scripts...

    Well, i've sold scripts in many ways without any problem so far. P.S: If you compile their scripts they will need a uncompiled copy, that's what I do.
  5. safeObject = createObject(args..)
  6. Copy the script again, I changed the timer to be 2,5 seconds.
  7. Go to the acl.xml and add the resource to 'Admin' group.
  8. I think he's talking about a external 'admin panel' to control the servers.
  9. function onPlayerWastedRestoreWeapons(ammo, killer) for i=0,12 do local weapon = getPedWeapon(source,i) local ammo = getPedTotalAmmo(source,i) setTimer(giveWeapon,2500,1,source,weapon,ammo,true) end end addEventHandler("onPlayerWasted",getRootElement(),onPlayerWastedRestoreWeapons) <meta> <info author="Castillo" type="script" name="restore weapons on wasted." /> <script src="server.lua" /> </meta> Try that, it should work (not tested).
  10. I don't think you can do this, you can change skin Textures (TXD) but, I'm not sure if you can do it on CJ:
  11. Peacemaker, my server is being hosted by Virtuagaming without any problem.
  12. Use exported functions, <export function="myFunctionName" type="can be server or client" /> Then you do: exports.SomeScript:myFunctionName(args)
  13. What do you mean by "original HUD"? the normal GTA:SA HUD is already showing if you don't hide it.
  14. Castillo

    Login

    Wrong, you can test if you are wrong doing this: stop admin resource then do /login, it will work without it, it's an MTA built-in command.
  15. Nunca traduje nada de la wiki, lo unico que hice hasta ahora fue agregar dos funciones en "Useful functions", tal vez traduzca algo alguna ves.
  16. Castillo

    Login

    I don't think you can (correct me if i'm wrong), as far as i know /login + message is built-in MTA.
  17. You'll need to learn to do that.
  18. Tenes el ACL configurado todo bien? el permiso a la funcion 'toggleblur' y todo?
  19. I can only say one thing, you are all inmature kids, why fight for somethig like this? can't you do it in private? what's the point of posting it HERE?
  20. gymMarker = createMarker( -2262.444, -163.06, 35.17, 'cylinder', 2, 255, 0, 0, 150 ) function buyitCommand ( thePlayer, command, number ) if (number == 1) then setPedFightingStyle (thePlayer, 4) outputChatBox ("Has Comprado el Estilo -Estandar- de Pelea por 50$", thePlayer, 140, 0, 140) takePlayerMoney ( thePlayer, 50 ) elseif (number == 2) then setPedFightingStyle (thePlayer, 16) outputChatBox ("Has Comprado el Estilo -Con Los Codos- por 250$", thePlayer, 140, 0, 140) takePlayerMoney ( thePlayer, 250 ) elseif (number == 3) then setPedFightingStyle (thePlayer, 15) outputChatBox ("Has comprado el Estilo -Agarrar y Patear- por 500$", thePlayer, 140, 0, 140) takePlayerMoney ( thePlayer, 500 ) elseif (number == 4) then setPedFightingStyle (thePlayer, 5) outputChatBox ("Has Comprado el Estilo -Boxeador- por 1000$", thePlayer, 140, 0, 140) takePlayerMoney ( thePlayer, 1000 ) elseif (number == 5) then setPedFightingStyle (thePlayer, 6) outputChatBox ("Has Comprado el Estilo de -Kung-Fu- por 2500$", thePlayer, 140, 0, 140) takePlayerMoney ( thePlayer, 2500 ) elseif (number == 6) then setPedFightingStyle (thePlayer, 7) outputChatBox ("Has Comprado el Estilo -Rodilla en la Cabeza- por 5000$", thePlayer, 140, 0, 140) takePlayerMoney ( thePlayer, 5000 ) end end function FightstyleShop( hitElement, matchingDimension ) outputChatBox ("Compra tu Estilo de Pelea.", hitElement, 140, 0, 140) outputChatBox ("1 - 50$ - Estandar", hitElement, 140, 0, 140) outputChatBox ("2 - 250$ - Con Los Codos", hitElement, 140, 0, 140) outputChatBox ("3 - 500$ - Agarrar y Patear", hitElement, 140, 0, 140) outputChatBox ("4 - 1000$ - Estilo Boxeador", hitElement, 140, 0, 140) outputChatBox ("5 - 2500$ - Estilo Kung-Fu", hitElement, 140, 0, 140) outputChatBox ("6 - 5000$ - Rodilla en la Cabeza...", hitElement, 140, 0, 140) outputChatBox ("/pelea (numero) - para comprar un estilo.", hitElement, 140, 0, 140) addCommandHandler ("pelea", buyitCommand) end addEventHandler ("onMarkerHit", gymMarker, FightstyleShop) function commandAway ( leaveElement, matchingDimension ) removeCommandHandler ("pelea", buyitCommand) outputChatBox ("Regresa Pronto!", leaveElement, 140, 0, 140) end addEventHandler ("onMarkerLeave", gymMarker, commandAway)
  21. What do you mean by "load resources"?
  22. What do you mean? he stole your script?
  23. I gave you an script in the "Stats system script" topic, use that as an start.
  24. Castillo

    Skins

    That's right, when you leave a server with their custom textures it will remain until you restart MTA.
×
×
  • Create New...