Jump to content

PatrickChucky

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

0 Neutral

About PatrickChucky

  • Rank
    Square
  1. Hello everyone! I got a problem. I can't select windows using the "World Object" Tool / I can't remove windows using the "World Object Remover" tool. I used the "E" (The red cursor) and nothing. Can anyone help me?
  2. Olá Bem estou a ter um problema com os objectos de SA:MP no MTA. É o seguinte, eu consigo usa-los e mapear no MTA Map-editor com eles, mas se eu colocar no meu server de MTA eles não funcionam. Tem alguma maneira de os fazer aparecer? Deixo aqui as prints. E sim é para usar em MTA e não em SA:MP, SA:MP não chega nem aos calcanhares do MTA, apenas gostei dos novos objectos do SA:MP. No map-editor: No meu server de MTA:
  3. Hello I have a problem, I don't know if is possible, but I want to know if is possible insert SA:MP Object in MTA Servers. I can use them in the Map-editor, but if I run the mapping in my MTA server it doesn't work. And Yes, is to use in MTA not in SA:MP, SA:MP suck, but the new objects are very useful. Here are the prints. In the map editor: In the server:
  4. You're right, put everything server side and its working. Thanks everyone for your help. Peace. PatrickChucky
  5. Still the same. exports.players:giveMoney( getLocalPlayer(), nMoney ); This is what is not working, but i have no idea why, i have the the includes in meta file...
  6. This is the code i have, i just thought it was irrelevant, this is client side. function onPayDay () local money = math.random( 400, 800 ) local player = getLocalPlayer() local currentMoney = getPlayerMoney( player ) outputChatBox(" ") outputChatBox("|||------------ Pay Day ------------|||", 70, 200, 0) outputChatBox(" ") outputChatBox("Saldo actual -| #EEDDAA"..currentMoney, 250, 250, 250, true) outputChatBox("Ganho -| #EEDDAA"..money, 250, 250, 250, true) outputChatBox("Novo saldo -| #EEDDAA"..currentMoney + money, 250, 250, 25
  7. Hey guys, Im making a paycheck script and i cant figure out how to make the givemoney ( exported from another resource ) work. I included it in the meta file already, is there anything else i should do? I'm using Paradise Roleplay btw. Here's the code. function onPayDay () local money = math.random( 400, 800 ) local player = getLocalPlayer() local currentMoney = getPlayerMoney( player ) outputChatBox(" ") outputChatBox("|||------------ Pay Day ------------|||", 70, 200, 0) outputChatBox(" ") outputChatBox("Saldo actual -| #EEDDAA"..currentMoney, 2
  8. ohhhh, thats why then, so ill have to make the script myself right? isnt there any other way?
  9. whenever i turn off the server it is supposed to save the tags right? it wont work...
  10. hey, i cant figure out how to make it save and load the tags, can you make a tutorial or try to explain please? id really apreciate that, thanks.
  11. Hi everyone, I've been trying to discover this but i couldnt. Can someone tell me how would this show up the the database? "'" .. exports.sql:escape_string( toJSON( weapons ):gsub( " ", "" ) ) .. "'" thats inserting in the db, this is getting from the db local weapons = fromJSON( char.weapons ) if weapons then for weapon, ammo in pairs( weapons ) do giveWeapon( source, weapon, ammo ) end end Can someone explain me this please? Thanks in
  12. Oh well, firstly sorry for double post. I figured out how to do it and fixed it, but thanks anyways, you can close this topic. Props. Patrick Chucky
  13. Read it again please. I'm newbie at THIS programming language, i program in many other languages. Can you please help me though? i just want to know where to put the files since the folders layout for mta 1.1 changed alot. Thanks, PatrickChucky
  14. Hi guys, I'm pretty new at programming for this platform, and i found a gamemode to start with, Paradise Roleplay, but its for v 1.0 of MTA and it's on 1.1 right now, i tried to convert it to the new version, but there's no way I can. I wonder if someone could help me with that. Thanks in advance,
×
×
  • Create New...