FlyingSpoon Posted April 23, 2015 Posted April 23, 2015 (edited) - Fixed - Edited April 23, 2015 by Guest GitHub: https://github.com/flyingspoon YouTube: https://www.youtube.com/channel/UClsnd4SEid3gob33DSk1-GQ
Walid Posted April 23, 2015 Posted April 23, 2015 (edited) Change source with localPlayer setElementInterior ( localPlayer, 0 ) Ex: function clickGrid() local row,col = guiGridListGetSelectedItem(mainGridlist) if (row and col and row ~= -1 and col ~= -1) then setElementModel ( dummyPed, 29 ) triggerServerEvent ( "zombie.hunters", localPlayer) guiSetVisible ( spawnMenu, false ) showCursor ( false ) destroyElement ( dummyPed ) setElementInterior ( localPlayer, 0 ) setElementDimension (localPlayer, 0 ) end end Edited April 23, 2015 by Guest 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
FlyingSpoon Posted April 23, 2015 Author Posted April 23, 2015 Too late Figured it out. Anyways, thanks. GitHub: https://github.com/flyingspoon YouTube: https://www.youtube.com/channel/UClsnd4SEid3gob33DSk1-GQ
Walid Posted April 23, 2015 Posted April 23, 2015 Too late Figured it out.Anyways, thanks. you are welcome 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
FlyingSpoon Posted April 23, 2015 Author Posted April 23, 2015 You see my code above which you set as an example, now when GUI closes etc, the camera is like in the air like it's all black and I can see the sun? setCameraMatrix(254.7190, -41.1370, 1002, 256.7190, -41.1370, 1002 ) function clickGrid() local row,col = guiGridListGetSelectedItem(mainGridlist) if (row and col and row ~= -1 and col ~= -1) then setElementModel ( dummyPed, 29 ) triggerServerEvent ( "zombie.hunters", localPlayer) guiSetVisible ( spawnMenu, false ) showCursor ( false ) destroyElement ( dummyPed ) setElementInterior ( localPlayer, 0 ) setElementDimension (localPlayer, 0 ) end end GitHub: https://github.com/flyingspoon YouTube: https://www.youtube.com/channel/UClsnd4SEid3gob33DSk1-GQ
FlyingSpoon Posted April 23, 2015 Author Posted April 23, 2015 Fixed GitHub: https://github.com/flyingspoon YouTube: https://www.youtube.com/channel/UClsnd4SEid3gob33DSk1-GQ
Enargy, Posted April 24, 2015 Posted April 24, 2015 why did you removed the code? this can help people who are just starting scripting. if you believe that anyone thinks steal your code the don't post it - Inactivo.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now