Jump to content

Commands


hihohihohiho

Recommended Posts

Posted

I tried that and it comes out with an error:

[16:56:32] SCRIPT ERROR: ...dreas/server/mods/deathmatch/resourcecache/Commands 1.0/commands 1.0.lua:1: unexpected symbol near '{'

[16:56:32] INFO: Loading script failed: ...dreas/server/mods/deathmatch/resourcecache/Commands 1.0/commands 1.0.lua:1: unexpected symbol near '{'

unexpected symbol near '{' <<<<<<<<

Posted

I'd also point out that you don't need to be creating ZIP based resources. Just use a folder while testing and use zips for release.

Posted

So how come I can't start resource until I create zip file of the resource?!

I have got folder of my resource in resourcecache and I try to start resource, what I get back is:

[TIME] start: Resource could not be found

How can you explain that? Is there some setting in mtaserver.conf which is responsible for that? I guess no, so...?

Posted
So how come I can't start resource until I create zip file of the resource?!

I have got folder of my resource in resourcecache and I try to start resource, what I get back is:

[TIME] start: Resource could not be found

How can you explain that? Is there some setting in mtaserver.conf which is responsible for that? I guess no, so...?

resourcecache?! it's supposed to be in %\MTA San Andreas\server\mods\deathmatch\resources :P

There you put the folder, or zip file :P

Posted

Once again...

[18:52:41] start: Requested by Console

[18:52:42] Resource 'Commands 1.0' changed, reloading and starting

[18:52:42] Starting Commands 1.0

[18:52:42] SCRIPT ERROR: ...dreas/server/mods/deathmatch/resourcecache/Commands 1.0/commands 1.0.lua:1: unexpected symbol near '{'

[18:52:42] INFO: Loading script failed: ...dreas/server/mods/deathmatch/resourcecache/Commands 1.0/commands 1.0.lua:1: unexpected symbol near '{'

[18:52:42] start: Resource 'commands 1.0' started

it makes no sence

Posted
Once again...

[18:52:41] start: Requested by Console

[18:52:42] Resource 'Commands 1.0' changed, reloading and starting

[18:52:42] Starting Commands 1.0

[18:52:42] SCRIPT ERROR: ...dreas/server/mods/deathmatch/resourcecache/Commands 1.0/commands 1.0.lua:1: unexpected symbol near '{'

[18:52:42] INFO: Loading script failed: ...dreas/server/mods/deathmatch/resourcecache/Commands 1.0/commands 1.0.lua:1: unexpected symbol near '{'

[18:52:42] start: Resource 'commands 1.0' started

it makes no sence

this is the only stuff in that file?

Posted

Post your actual command here. You must have a { somewhere or something in front of it that doesn't make sense. The code Jumba posted will work fine. Do you mind posting it?

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...