Jump to content

Help!


MAB

Recommended Posts

Posted

I am new at scripting mm... i need a little help here....

i made some simple resources but i have never made a script that contains more than 1 player and i want to make a marker and on that markerHit i want to transfer the player to a Last man standing area because of course i am making a last man standing mini game so i will transfer players to the match area then i want to getPlayersCount (the match area) and idk how to transfer them with a correct dimen and int and also i don't know how to deal with more than 1 player so... a little help here please!

You can find me here.

Posted
What about the dimen and the int ?
setElementDimension() 
setElementInterior() 

i recommend you to read the wiki page before u start asking questions here.

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

Posted
yes yes what to int and dimen to set??? :?:

If you want to set position outside world, then no need to use setElementInterior

Or if you want to set Interior then use this.

setElementInterior ( theElement, interiorID) --visit link down to get interior ID you prefer. 

https://wiki.multitheftauto.com/wiki/Interior_IDs

For Dimension,

setElementDimension (  theElement, anyNo ) --anyNo you like, 0 is default. 

Note that theElement is the player, so specify it.

350x20_FF0090_FFFFFF_0C0A36_FF0090.png

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