-
Posts
827 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Cadu12
-
Hmmm, I tinhk its your crack bugged (gta_sa.exe)
-
Maybe reinstall GTA:SA and MTA:SA
-
Do you mean Shader water?
-
uh? what do you mean? if you want change car color?
-
I have tested and works, are you using server-side? if so, change to client-side
-
red = math.random(0, 255) green = math.random(0, 255) blue = math.random(0, 255) aRed = (1 + math.random(0, 1000)/1000) * 1.3 aGreen = (1 + math.random(0, 1000)/1000) * 1.3 aBlue = (1 + math.random(0, 1000)/1000) * 1.3 function changeColor() for i, v in ipairs(getElementsByType("vehicle")) do if ((red + aRed) < 0) or ((red + aRed) > 255) then aRed = aRed * -1 end red = red + aRed if ((green + aGreen) < 0) or ((green + aGreen) > 255) then aGreen = aGreen * -1 end green = green + aGreen if ((blue + aBlue) < 0) or ((blue + aBlue) > 255) then aBlue = aBlue * -1 end blue = blue + aBlue setVehicleColor(v, red, green, blue) end end addEventHandler ( "onClientPreRender", root, changeColor )
-
callRemote and make PHP with tables if player joined
-
hookeridlist = { 85, 87, 85, 90, 152, 169, 178, 238, 244, 256, 257, 264, 68,} -> hookeridlist = { 85, 87, 85, 90, 152, 169, 178, 238, 244, 256, 257, 264, 68}
-
Try this server-side: addEventHandler("onPlayerSpawn",root, function() setElementData(source,"ping",getPlayerPing(source)) setElementData(source,"health",getPlayerMoney(source)) setElementData(source,"ip",getPlayerIP(source)) setElementData(source,"serial",getPlayerSerial(source)) setElementData(source,"armour",getPedArmor(source)) end )
-
Sorry the again offtopic. @Solidsnake14 thats why i dont have any ideas, becuase i am deaf. I have problem with deaf =( So i can copy ideas
-
Agree with qaisjp. Im not sure if there is color for GTA:SA Offtopic: qaisjp hm uh... do you like race gamemode?
-
What do you mean? If you mean im post this topic who steal/mod/car/etc?
-
https://community.multitheftauto.com/index.php?p= ... ts&id=2960 https://community.multitheftauto.com/index.php?p= ... ts&id=2957 There is Insults.
-
But you help me a bit for google api, do you remember?
-
Im not copying your GUI Edit: Oh i forget for credis you for link or not?
-
I have made a google translate and works fine. http://i52.tinypic.com/w0i3ra.png I will give you both credis.
-
Seach "dxDrawText color", and edit in race resource.
-
tab1 = guiCreateTab("Info",tabPanel) playerPingLabel = guiCreateLabel(8,165,320,18,"Your Ping:",false,tab1) guiLabelSetColor(playerPingLabel,255,255,0) playerIPLabel = guiCreateLabel(8,190,320,18,"Your IP: ",false,tab1) guiLabelSetColor(playerIPLabel,255,255,0) playerSrLabel = guiCreateLabel(8,211,320,18,"Your Serial: ",false,tab1) guiLabelSetColor(playerSrLabel,255,255,0) -------------------------------------------------------------------- local ping = getElementData ( getLocalPlayer(), "ping") local ips = getElementData ( getLocalPlayer(), "ips") local srs = getElementData ( getLocalPlayer(), "srs") guiSetText ( playerSrLabel, "Your serial: " ..tostring(srs).. " " ,true,tab1) guiSetText ( playerPingLabel, "Your Ping: " ..tostring(ping).. " " ,true,tab1) guiSetText ( playerIPLabel, "Your ip: " ..tostring(ips).. " " ,true,tab1) Try this. edit: agree with BinSlayer1
-
triggerClientEvent triggerServerEvent Use a trigger.
-
Are you using Server-side? If so, change to client-side. resetWaterColor and setWaterColor is only for client-side Edit: Or you can use trigger https://wiki.multitheftauto.com/wiki/TriggerClientEvent
-
and 14 lines. change it to "onClientResourceStart"
-
"if" is wrong. "getLocalPlayer" is only for client-side function dramex(player, command) if (getElementHealth(player) >= 50) then outputChatBox ( " Erorr " ) else local team =getTeamFromName("Spectator") setPlayerTeam(player, team) end end addCommandHandler ( "spec", dramex)
-
Fixed, it was php. so thank you for help. =]
-
mta::doReturn( $getPlayerTraceInfo["ip"], $getPlayerTraceInfo["contry"] ); outputServerLog(sum[2]) ?
