Jump to content

PARKAH

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by PARKAH

  1. What am I checking for? What does that mean?
  2. Nope, well, yes but I restarted the server and tried again.
  3. So I looked for a wiki to start MTA scripting, seeming as all the youtube videos were crap and I came across the wiki for MTA Scripting, I followed all the steps and got the resource testing step and came across a error saying; Here is the script I made: local spawnX, spawnY, spawnZ = 1959.55, -1714.46, 10 function joinHandler() spawnPlayer(source, spawnX, spawnY, spawnZ) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox("Welcome to My Server", source) end addEventHandler("onPlayerJoin", getRootElement(), joinHandler) (Created using the MTA Script Editor and got the script from the wiki) Here are some pictures: I don't see what I have done wrong, please help!
  4. Hey again! I have another problem this time with a resource I found called "basicrp" I read about, no bad comments and installed it straight away, I then opened my server and this came up: So I removed the highlighted line: Everything was fine: Then when I got on, I waited about 10 minutes and it just stayed like this: Anybody got any idea why this is happening? (And yes I have tested all the other resources before installing this one)
  5. It worked, thanks! P.S I love SAUR and I play on it daily it's my favorite server:)
  6. Hey guys, here I have a script; ID = getVehicleModelFromName ( "INSERTNAMEHERE" ) function TXDFile () TXD = engineLoadTXD( "copcarla.txd" ) engineImportTXD( TXD, ID ) end addEventHandler( "onClientResourceStart", resourceRoot, TXDFile ) function DFFFile () DFF = engineLoadDFF( "copcarla.dff", 0 ) engineReplaceModel ( DFF, ID ) end addEventHandler( "onClientResourceStart", resourceRoot, DFFFile ) It's very simple, I just one issue, where it says "Insertnamehere" is where you are supposed to put the name of the car you want to replace with your new car. In this situation, I'm trying to replace the Los Santos police car, the only issue is I need the real name for the car which I can't find anywhere, I've tried stuff like police,policecar,lspd,lspdpolice but none of them work, I can't use the ID (596) for some reason, does anybody know the proper name for the LSPD Car? Thanks!
×
×
  • Create New...