Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Post the whole client side.
  2. Castillo

    Help :(

    You want to draw a text over the ped?
  3. What do you mean by "Mr.Whoopee music"?
  4. Show how you changed it.
  5. I gave you an example of how to make a command to output a message to the player you fill in the command, now you must change it to do whatever you need.
  6. I believe that the problem is that you forgot to replace the DFF ( model ) aswell.
  7. You're welcome.
  8. addCommandHandler ( "hello", function ( thePlayer, _, who ) local playerWho = getPlayerFromName ( who ) -- Get the player from the string entered on the command. if ( playerWho ) then -- If the player really exists... outputChatBox ( getPlayerName ( thePlayer ) .." says hello!", playerWho ) -- Output a chatbox message to him. end end )
  9. I really don't understand, you want to output when the player uses a command, and which commnd is that? addEventHandler ( "onPlayerCommand", root, function ( cmd ) outputChatBox ( getPlayerName ( source ) .." used the command /".. cmd ) end )
  10. That function returns milliseconds, you must convert it to seconds/minutes. You may use this function I made to convert it. function convertTime ( ms ) local min = math.floor ( ms / 60000 ) local sec = math.floor ( ( ms / 1000 ) % 60 ) return min, sec end
  11. You're welcome.
  12. Post the whole script.
  13. addEventHandler ( "onPlayerJoin", root, function ( ) local playerName = getPlayerName ( source ) if string.find ( playerName, "#" ) or not string.find ( playerName, "_" ) then kickPlayer ( source, "Invalid Name" ) else local playerNameSplitted = split ( playerName, "_" ) if ( isStringFirstLetterUppercase ( playerNameSplitted [ 1 ] ) and isStringFirstLetterUppercase ( playerNameSplitted [ 2 ] ) ) then spawn ( source ) else kickPlayer ( source, "Invalid Name" ) end end end ) function isStringFirstLetterUppercase ( str ) local letter = str:sub ( 1, 1 ) return ( letter:upper ( ) == letter ) end Try it.
  14. Post the script and the meta.xml.
  15. Castillo

    MySQL

    @Image: If you use "-1" to wait until it got a result, then I recommend you to use callbacks.
  16. You can try to approximate, then change it until it suits your needs.
  17. Castillo

    help blip

    Hiding? you mean when a zombie dies?
  18. Maybe you can combine it with onClientGUIMouseEnter/Leave.
  19. Cuando estas poniendo la element data: "currentHealth"?
  20. That should work.
  21. Si, esa es otra manera, pero es mucho mas dificil.
  22. Without the script, we can't help you.
  23. What do you mean by "it'll bug"?
  24. Castillo

    help

    That's what I though, you edited an script which isn't yours, it was leaked from CSG, made by Dennis ( UniOn ). Topic locked.
  25. De nada.
×
×
  • Create New...