-
Posts
21,935 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Castillo
-
I supose the "thing" at the bottom is an Userpanel or something similar.
-
Useless post, I don't see anything but showing a normal login GUI.
-
That's what I also think, Arran.
-
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.
-
safeObject = createObject(args..)
-
Copy the script again, I changed the timer to be 2,5 seconds.
-
Go to the acl.xml and add the resource to 'Admin' group.
-
I think he's talking about a external 'admin panel' to control the servers.
-
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).
-
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:
-
Peacemaker, my server is being hosted by Virtuagaming without any problem.
-
Use exported functions, <export function="myFunctionName" type="can be server or client" /> Then you do: exports.SomeScript:myFunctionName(args)
-
What do you mean by "original HUD"? the normal GTA:SA HUD is already showing if you don't hide it.
-
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.
-
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.
-
I don't think you can (correct me if i'm wrong), as far as i know /login + message is built-in MTA.
-
You'll need to learn to do that.
-
Tenes el ACL configurado todo bien? el permiso a la funcion 'toggleblur' y todo?
-
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?
-
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)
-
What do you mean by "load resources"?
-
What do you mean? he stole your script?
-
I gave you an script in the "Stats system script" topic, use that as an start.
