Jump to content

Custom Vehicle Models


Guest DarkItachiPL

Recommended Posts

Hi,

My script:

function changeveh(player, commandname) 
outputChatBox ( "Car: Bullet" ) 
txd = engineLoadTXD("data/bullet.txd") 
engineImportTXD(txd, 541) 
dff = engineLoadDFF("data/bullet.dff") 
engineReplaceModel(dff, 541) 
end 
function ionPlayerJoin () 
    outputChatBox ( "New Models by DarkItachiPL" ) 
end 
gamemode_root = getRootElement() 
addCommandHandler ( "changeveh", changeveh ) 

My meta.xml:

<meta> 
   <info author="None" type="script" version="1.0" /> 
   <script src="auto.lua" /> 
   <file src="data/bullet.dff" /> 
   <file src="data/bullet.txd" /> 
</meta> 

My error:

[22:09:15] Starting auto 
[22:09:15] All Seeing Eye listing enabled. Port 22127 (UDP) must be accessible 
           from the internet 
[22:09:47] CONNECT: DarkItachiPL connected (IP: 192.168.2.9) 
[22:09:53] JOIN: DarkItachiPL joined the game (IP: 192.168.2.9) 
[22:10:00] Map vote started by DarkItachiPL. 
[22:10:09] DarkItachiPL voted 3 (as-dam) 
[22:10:09] Vote ended! [as-dam] 
[22:10:09] Starting assault 
[22:10:09] start: Resource 'assault' started 
[22:10:09] Gamemode 'Assault' started. 
[22:10:09] Starting as-dam 
[22:10:09] start: Resource 'as-dam' started 
[22:10:09] Map 'as-dam' started. 
[22:10:21] WARNING: tele.lua: Bad argument @ 'destroyElement' - Line: 31 
[22:10:25] WARNING: tele.lua: Bad argument @ 'destroyElement' - Line: 38 
[b][22:11:21] ERROR: ...y/MTA DM/mods/deathmatch/resourcecache/auto/auto.lua:3: attempt to call global 'engineLoadTXD'[/b] 

Please, help me...

Edited by Guest
Link to comment

Ehh... My new error log:

[23:13:34] Starting auto 
[23:13:34] All Seeing Eye listing enabled. Port 22127 (UDP) must be accessible 
           from the internet 
[23:14:04] CONNECT: DarkItachiPL connected (IP: 192.168.2.9) 
[23:14:10] JOIN: DarkItachiPL joined the game (IP: 192.168.2.9) 
[23:14:21] Map vote started by DarkItachiPL. 
[23:14:23] DarkItachiPL voted 3 (Desert) 
[23:14:23] Vote ended! [Desert] 
[23:14:23] Starting interstate69 
[23:14:23] Starting i69-vehicles 
[23:14:23] start: Resource 'interstate69' started 
[23:14:23] Gamemode 'Interstate 69' started. 
[23:14:23] Starting i69DM-de 
[23:14:23] start: Resource 'i69DM-de' started 
[23:14:23] Map 'Desert' started. 
[23:14:23] ERROR: fileOpen; unable to load file 
[23:14:23] ERROR: fileOpen; unable to load file 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...