Jump to content

Jobs problem


Wei

Recommended Posts

Posted

nothing.

when i start script shows only error:

[2012-03-20 18:00:27] ERROR: RPG\rpg.lua:45: attempt to index global 'S' (a nil value)

[2012-03-20 18:00:27] ERROR: RPG\rpg.lua:6: attempt to index global 'S' (a nil value)

Diet with russian vodka, lose 3 days in one week !

Posted

https://wiki.multitheftauto.com/wiki/Scr ... troduction

viewtopic.php?f=148&t=40809

Also what is it???!!

S.W.A.T = createTeam ( "S.W.A.T", 255, 255, 255 ) 

You can not call as a variable name.

Your should create like this:

Example

  
S =  
{ 
    W =  
    { 
        A = { } 
    } 
} 
  
S.W.A.T = createTeam ( "S.W.A.T", 255, 255, 255 ) 
print( S.W.A.T ) --> userdata 
  

You need learn lua.

http://vk.com/the_kenix

Вопросы задавайте на форуме, не пишите мне в личку.

Please don't pm me.

Posted

You can simply rename the variable from "S.W.A.T" to "SWAT".

EPT Team Server Development: 0%

Learning C++ | C++ is amazing xD

Posted
You can simply rename the variable from "S.W.A.T" to "SWAT".

I allready did :)

Diet with russian vodka, lose 3 days in one week !

Posted

Topic locked.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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