Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Post the server side of 'zombies' resource.
  2. Castillo

    kill cam

    Try setting the camera to the player.
  3. team = createTeam ( "Staff", 255, 255, 255 ) function teamSet ( thePlayer ) local team = getTeamFromName ( "Staff" ) local account = getPlayerAccount ( thePlayer ) if ( not account or isGuestAccount ( account ) ) then return end local accountName = getAccountName(account ) if ( isObjectInACLGroup ( "user.".. accountName, aclGetGroup ( "L5" ) ) ) then if ( not getElementData ( thePlayer, "invincible" ) ) then setElementData ( thePlayer, "invincible", true ) setElementModel ( thePlayer, 217 ) setPlayerTeam ( thePlayer, team ) setPlayerNametagColor ( thePlayer, 255, 255, 255 ) outputChatBox ( "#00FF00GodMode Enabled", thePlayer, 0, 255, 0, true ) else outputChatBox ( "#FF0000GodMode Disabled", thePlayer, 255, 0, 0, true ) setElementData ( thePlayer, "invincible", false ) end end end addEvent ( "sTeame", true ) addEventHandler ( "sTeame", root, teamSet ) addCommandHandler ( "staff", teamSet )
  4. You mean that it's writing "enabled" and "disabled" at the same time?
  5. It's on at least two places.
  6. All you have to do is change "true" to "false" and "false" to "true" at setElementData.
  7. Search on the zombies script for the function "createPed".
  8. Castillo

    Events

    That'll return true even if you're just falling of a building.
  9. You are doing it vice-versa, instead of enabling god mode, you are disabling it, and instead of disabling, you are enabling it.
  10. You'll have to make your own tab panel, since you can't do this with the GUI tab panels.
  11. No damos soporte con scripts robados. Tema cerrado.
  12. Hold on, did you give permission in the ACL to the resource? as far as I know, it needs it.
  13. You're sure that the IP and port are the correct ones?
  14. Yes, you can do that, but your script is wrong.
  15. What's wrong with guiSetAlpha?
  16. I encountered the same problem a week or two ago, so I did a little search and found out this other website: http://convertffs.com/
  17. My code will restart the resource "JOBpl" if exists every minute.
  18. Castillo

    [HELP] race

    You must edit the race resource in order to do that.
  19. Castillo

    GIRD list

    How to get all items you mean? Use a for-loop with the function guiGridListGetRowCount.
×
×
  • Create New...