-
Posts
1,312 -
Joined
-
Last visited
Everything posted by KariiiM
-
Rows are always start counting from 0 ..1 ..2.. SO, you've to do row+1 on the selected rows to start it counting from 1..2.. If you already added a new row section like what you did ,so it doesn't matter for doing row +1 About what you did @JR10 its the same as first post you just defined it but it still the same meaning --This code local row = guiGridListAddRow ( grid ) guiGridListSetItemText ( grid, row, 1, "MyMusiclist", true, true ) --Is the same as guiGridListSetItemText ( grid, guiGridListAddRow ( grid ), 1, "MyMusiclist", true, true )
-
You understood me by wrong, i said he can't edit / change Players account names
-
You mean "put code"? look at the main post
-
As i understood, you want to make an Edit box to edit players their accounts. If "Yes", so that's not possible
-
You want when you type something in the Edit it shows in the say chat ? that's what i understood by reading your code
-
Never mind i solved it , i just forgot to check if the player is occupied to the vehicle like that for the people who get like this problem in future if getPedOccupiedVehicle (source) then local myVeh = getPedOccupiedVehicle (source) attachElements ( Box, myVeh , 0.25, -2.3, -0.5, -0.5, 0, 0 ) end
-
i think , error in function testbtn, this function not trigger id leb We are not thinking about errors, check debugscript 3 by typing: /debugscript 3 and tell us what you want to make , i mean tell us about your project idea
-
Hey guys, today i was scripting something for fun everything is fine exept this part of the code: the Warning is: Bad argument @ 'attachElements' [Expected element at argument 2,got boolean] the argument 2 it's myVeh local myVeh = getPedOccupiedVehicle (source) attachElements ( Box, myVeh , 0.25, -2.3, -0.5, -0.5, 0, 0 ) ~Thanks in advance.
-
Which line or side the error exist? and what you're trying to do
-
Of course it's possible since it's an shared function and your code is totally wrong , read more about this function and im sure you can solve it by yourself
-
You want to do an command set for you random skins into your account or what
-
You're welcome
-
@overKill resourceRoot is not defined itself, so each time you want to use this name you've to define it by yourself
-
Why you did resourceRoot? it should be like that triggerClientEvent(source,"onToggleLang",source)
-
I just want to be sure and to know if there's a way that i don't know about it to let an element attached to player for example visible in all dimensions
-
If you're sure,Thanks that's what i want to hear, because i like to be sure for everything even the small things
-
Does the setElementDimension is able to set an Object in more than one dim? For example if you attached an object at a player ,if you used this function the object would be visible only in one dimension, the dimension that you shoosed with this function , So the question is, There's a way to let it works in more than one? i want to be sure of that, Thanks you~
-
Which line the error exist and what are you trying to do. it's a full code or part of? because there's something not defined as i see
-
At this moment, to steal some resources from a server is hard the only way is Devo and Houssam were letting developers controlling the Host, so it's the way for stealers leak them,That is what happened.
-
Sorry but rules are rules, you must have the Owne permission of this script, maybe you were developer of this server thats why you have these resources without permission and that is against rules.
-
If you scripted all this code ,im sure you can fix this small ERROR. 2nd thing , it's CSF script, addEvent("CSFskins.onApplyToAllServer", true ) I suggest you to start learning lua and MTA functions, go to mta wiki and read.. if you need help with something post your problem here
-
We can't supports you with a leaked scripts, read the forum rules
-
He said it's correct read the main post of him Edit: so, maybe there's something wrong with the script or in the database if it's based on sql functions try /debugscript 3 and check if there's any errors ,if you can't loggin to check that, see the Console then
-
Yes you're right about this point, if the function is typed wrong then you can't check the player @martine and try what i sent to you
-
I think i got it, the problem is in client side not in server side -----* Created by Core -----* cG_AccountSystem client.lua file. local X = 0.375 local Y = 0.375 local Width = 0.25 local Height = 0.25 local alap = guiCreateWindow(X, Y, Width, Height, "Please Log In", true) local userNameClick = guiCreateEdit(60, 60, 250, 30, "Username", false, alap) guiSetAlpha(userNameClick,1) guiEditSetMaxLength(userNameClick, 50) local passWordClick = guiCreateEdit(60, 120, 250, 30, "Password", false, alap) guiSetAlpha(passWordClick,1) guiEditSetMaxLength(passWordClick, 50) local loginClick = guiCreateButton(80, 160, 200, 50, "Log In", false, alap) -- x, y, z, meret editUsername = guiCreateEdit(79,52,181,25,"",false,windowLogin) local timeElapsed = 0 guiSetInputMode("no_binds") fadeCamera(true, 0.5) showCursor(true) local userNameTable = {} local passWordTable = {} function cC() for i = 0, 25 do outputChatBox(" ") end outputChatBox("#FFFFFFÜdvözöllek a #217AA2Core Game System #FFFFFFszerveren " .. getPlayerName(localPlayer) .. ".", 0, 0, 0, true) end function windowHandler( ) local playername = getPlayerName(localPlayer) guiSetText(userNameClick, "") guiSetText(userNameClick, "") guiSetText(userNameClick, playername) guiSetText(userNameClick, playername) guiSetVisible ( alap, true ) guiSetInputEnabled(true) showCursor ( true ) end function onClickBtn ( button, state ) if button == "left" and state == "up" then if (source == loginClick) then local username = guiGetText(userNameClick) local password = guiGetText(passWordClick) if username and password then showChat(true) triggerServerEvent ( "logIn", getRootElement(), localPlayer, username, password ) else outputChatBox ("Enter unsername and password!",255,0,0) end end end end function hideLGP() guiSetInputEnabled(false) guiSetVisible ( GUIEditor_Window[1], false ) showCursor ( false ) end addEvent( "hideLGP", true ) addEventHandler( "hideLGP", getRootElement(), hideLGP ) addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), windowHandler ) addEventHandler ( "onClientGUIClick", loginClick, onClickBtn, false )