Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Being generous could be when you don't need money, but when you do, you'll surely stop being generous.
  2. He is not a "noob hoster", I myself the "test server" of his hosting and I even had less ping than almost every other server.
  3. Mira lo que posteo Callum, la verdad que es un p*** ese tipo. /me esta contactando a otro moderador para borrarle el post a Benxamix.
  4. Yo no hago spam diciendo "You're welcome", vos ya habias dicho "Thanks" una vez, luego al decirte "De nada." volviste a decir "Thanks again.", asi que borre el post ya que era spam.
  5. Castillo

    GUI

    function areCloudsVisible ( ) setCloudsEnabled ( not getCloudsEnabled ( ) ) outputChatBox ( "nubes ".. getCloudsEnabled ( ) and "activadas" or "desactivadas" .."." ) end addCommandHandler ( "nubes", areCloudsVisible )
  6. You can check the serial.
  7. I had that error too, I fixed it the way I said above. addEventHandler( "onClientResourceStart", resourceRoot, Animation.createAndPlay(guiCreateStaticImage(20, 200, 100, 100, "bos.png", false) , { from = 0, to = 1, time = 2000, fn = guiSetAlpha }) )
  8. Castillo

    why

    You're welcome.
  9. Castillo

    why

    Mind posting how you trigger: "phone:callService" ? addEvent ( "phone:callService", true ) addEventHandler ( "phone:callService", getRootElement(), function ( cReason, tTeam ) for index, player in ipairs ( getPlayersInTeam ( getTeamFromName ( tTeam ) ) do outputChatBox ( getPlayerName ( source ) .." has requested ".. tTeam .." reason : ".. cReason .." !", player ) end takePlayerMoney ( source, 10000 ) outputChatBox ( "Request succefuly sent", source ) end )
  10. You'll have to do this, is not really hard.
  11. It's the same thing, you can create "clans" invite players, add sub leaders.
  12. Check your meta.xml, put the animation script before your script. E.g:
  13. Castillo

    why

    if getTeamName(getPlayerTeam(v)) == tTeam then Maybe because of that?
  14. --Server script, checking if logged in player is admin addEventHandler ( "onPlayerLogin", root, function ( ) if ( hasObjectPermissionTo ( source, "function.aclSetRight", false ) ) then bindKey ( source, "F10", "down", onKeyUse ) end end ) function onKeyUse ( thePlayer ) triggerClientEvent ( thePlayer, "showMsgWdw", thePlayer ) end
  15. As for the gang system, you can use the one I uploaded to the MTA Community. Link: https://community.multitheftauto.com/ind ... ls&id=1514
  16. viewtopic.php?f=108&t=36514
  17. Your post was insulting, that's why I removed it. If you don't have the patience to help others, you shouldn't be here in my opinion.
  18. Castillo

    Serials

    executeSQLCreateTable( "banList", "players, playerIP TEXT" ) function saveData ( source ) executeSQLInsert ( "banList", "'"..getPlayerName(source).."', '" .. sourcename .. "'" ) end addCommandHandler("set", saveData) function exeData ( source ) result = executeSQLSelect ( "banList", "playerIP", "players = '" .. getPlayerName(source) .. "'" ) outputChatBox( tostring ( result [ 1 ] [ "playerIP" ] ) ) end addCommandHandler("get", exeData)
  19. function greetPlayer ( ) local playername = getPlayerName ( source ) local serverName = getServerName( ) exports ["guimessages"] : outputServer ( source, "".. playername ..",welcome to ".. serverName .."!" , 255, 255, 255 ) setTimer ( greetPlayerforum, 10000, 1, source ) end addEventHandler ( "onPlayerLogin", getRootElement(), greetPlayer ) function greetPlayerforum ( thePlayer ) exports ["guimessages"] : outputServer ( thePlayer, "Visit our forum! [url=http://www.sanb.smfnew.com]www.sanb.smfnew.com[/url]" , 255, 255, 255 ) end
×
×
  • Create New...