-
Posts
103 -
Joined
-
Last visited
-
Days Won
2
Everything posted by ahmedo01
-
setVehiclePanelState setVehicleDoorState
-
I tested with other code and php sdk works and returns. How can i do dynamic table? I want to do scoreboard.
-
only way is using mysql? i need other way
-
Trigger to clientside from server. When you triggering triggerClientEvent(playerlistensvoice,args.....) I think you can use this way.
-
Returns Array(), seems not returning any values. Is there a other way to get value?
-
$mtaServer->getResource("someResource")->call("someFunction"); If i do this, can function return any values? I want to get data from server.
-
Hello all, I want to make a radar but i cant see any example and i dont know how can i do this. Can anyone give example to me? I want to do like this. http://i.hizliresim.com/kjWBlv.png
-
Create an object then attach vehicle to object and move object.
-
Ehm, i am not sure but It can gave error for one space. addEvent("veh",true) addEventHandler("veh",root, function () local p = getLocalPlayer() local x,y,z = getElementPosition (p) vehicle = createVehicle (448 , x+5, y+5, z)) Change it to this addEvent("veh",true) addEventHandler("veh",root, function() local p = getLocalPlayer() local x,y,z = getElementPosition (p) vehicle = createVehicle (448 , x+5, y+5, z))
-
"flag_anim_reload_long" - bool - Force a longer reload time It is boolean. It can be true or false.
-
CLIENT addEventHandler ( "onClientGUIClick", oyundanatbuton, function() if source == oyundanatbuton then local selected = guiGridListGetSelectedItem( GUIEditor.gridlist[1] ) if selected then local text = guiGridListGetItemText( GUIEditor.gridlist[1], selected, oyuncucolumn) if getPlayerName(getLocalPlayer( )) == text then outputChatBox("Kendini oyundan atamazsın!",255,0,0) return end local plr = getPlayerFromName( text ) if plr then triggerServerEvent( "TRcezalar.kickPlayer",getLocalPlayer( ), plr) end end end end, false ) SERVER function isStaff(plr) if plr then local account = getPlayerAccount( plr ) local accName = getAccountName( account ) if isGuestAccount( account ) then return end if (isObjectInACLGroup ("user."..accName, aclGetGroup ( "S6 Personel" ) ) or isObjectInACLGroup ("user."..accName, aclGetGroup ( "S5 Personel" ) ) or isObjectInACLGroup ("user."..accName, aclGetGroup ( "S4 Personel" ) ) or isObjectInACLGroup ("user."..accName, aclGetGroup ( "S3 Personel" ) ) or isObjectInACLGroup ("user."..accName, aclGetGroup ( "S2 Personel" ) ) or isObjectInACLGroup ("user."..accName, aclGetGroup ( "S1 Personel" ) )) then return true end end end function kickPlayer(plr) if isStaff(source) then --kickPlayer( plr, "ADMKICK") kickPlayer(plr, source, "ADMKICK") outputChatBox(getPlayerName(source).." isimli personel "..getPlayerName(plr).." isimli kişiyi oyundan attı!",getRootElement( ),255,0,0) end end addEvent("TRcezalar.kickPlayer",true) addEventHandler("TRcezalar.kickPlayer",getRootElement( ),kickPlayer) It gives error in kickPlayer(plr, source, "ADMKICK") string. Error = stack overflow, i cant find solution.
-
Database isnt %80. I think it's %10 of one project because its basic for me. I think scripting harder than database programming.
-
Still doesnt work
-
Hello all, I have problem with gridlists. Here is my table. In my mysql table, it s supports turkish special characters but when i get data from table to gridlist it not supports turkish characters it shows ?? for turkish characters. How can i fix it? Which collation i need to select? Or it is gridlist bug? Thanks for help.
-
Change query to SELECT ? FROM stats WHERE account=? I think it can work. Or if not work SELECT ? FROM stats WHERE account='?' And this is what i am using local result = dbPoll(dbQuery(dbHandler, "SELECT '"..column.."' FROM stats WHERE account='"..accName.."'"), -1)
-
How can i change default interiors system to be restricted to groups or team?