Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. I have made a zombie roleplay from %0 i may release it on community, still thinking on it since i made some weird stuff on it, lol.
  2. addEventHandler( "onClientResourceStart", resourceRoot, function( ) local screenX, screenY = guiGetScreenSize( ) v = getVersion(number) label = guiCreateLabel( 0, 0, screenX, 15, "Gangsta RPG: ".. tostring(v), false ) guiSetSize( label, guiLabelGetTextExtent( label ) + 5, 14, false ) guiSetPosition( label, screenX - guiLabelGetTextExtent( label ) - 5, screenY - 27, false ) guiSetAlpha( label, 0.5 ) end ) this will work but getVersion is returning a table.
  3. yeah varez, i know i may convert it to sqlite later but for now i'm trying to create it with XML. P.S: i don't really get what do you mean static
  4. kevenvz, you can use it for YOURSELF but i don't give permission to add it on your "gamemode".
  5. hi, i have a little problem on my "friends list" resource, i noticed that you aren't able to add a friend if someone else added him, i know why this happends but i have no idea how i can fix it, the problem must be that i'm checking all accounts not only mine. here is part of code: local root = getResourceConfig("data.xml") local index = getIndex (getPlayerSerial(client),root) for i , v in pairs ( xmlNodeGetChildren ( root ) ) do for s , t in pairs ( xmlNodeGetChildren ( v ) ) do local att = xmlNodeGetAttribute ( t, "name" ) local rn = string.lower ( tostring ( nametext ) ) local ra = string.lower ( att ) if ( rn == ra ) then outputChatBox ( "A friend with this name already exist." , client , 255 , 0 , 0 ) return false end end end i hope someone know how i can fix it. Thanks in advance.
  6. djlobo, i never learned php and that stuff, also this is virutal stuff.
  7. Castillo

    help me!

    i think what he want is this, class 1 (you can kill them fast or something like that) class 2 (harder to kill etc) ,etc,etc.
  8. yup, i wanted to add games on it like tetris but too lazy to ask the creators
  9. Castillo

    help me!

    woot? i don't get what do you want, re-explain yourself please.
  10. lol? freezed your server? what the fuck do you mean?!
  11. Finally i've finished the first version of my computer system, this resource was requested on a topic at mta forums so i suposed nobody else was going to make it and i started to make it. How it works? /startpc /closepc What it has? E-mail system: You can register e-mails and they will be saved into a sqlite database, the passwords are protected with md5 to don't let admins know them. Internet system: This feature allows you to create virutal websites like advertisement's etc, to create one follow how i have made the first 2 websites. Download it here: https://community.multitheftauto.com/index.php?p=resources&s=details&id=1270 I hope you will like it, i have spent some time making it.
  12. thanks, its working now, i'm still a little noob on sqlite .
  13. I may add a kind of GUI chat so you click on your friend and you can chat with him if he is online
  14. lol? you're seriusly with this? you call this "RPG"? this is mostly community scripts.
  15. Castillo

    My Build Script

    Nice work, keep the good work.
  16. true, there aren't any syntax error now but it deletes all rows from the table not only selected
  17. i think MI550 is just a kid that he doesn't even know what he talking about.
  18. MI550, if you don't have anything to help then don't post, this is not a section for kids.
  19. well, if i'm right all 1.0.4 resources will work in 1.1.
  20. this is only the SPAWN MENU not the other scripts! you can't ask to fix something that isn't there.
  21. I think he is asking if Paradise RP will work on 1.1 version (when comes out)
  22. it returns syntax error too: Database query failed: near ",": syntax error
  23. Castillo

    Compiling LUA

    i compile them with this, i uploaded it to media fire long time ago. http://www.mediafire.com/?08ul44zogde48s5
  24. you can't change handling yet, this will be added in later mta versions if i'm right, maybe in 1.1, no idea.
  25. hi, i have a small problem and big at same time, this function keeps returning syntax error function: executeSQLDelete ( "PlayersEmail2","mail = '".. address .."'',subject = '".. selected .."'" ) error: Database query failed: near "TEST": syntax error TEST = subject i hope someone can help me, thanks in advance.
×
×
  • Create New...