Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 17/03/22 in all areas

  1. Edit: Crash results from CEF loading which does not work on linux wine. Join a server which does not require CEF.
    1 point
  2. Desculpe, esqueci de mencionar que a função split retorna uma tabela em vez dos valores separados. Dai você precisa acessar os valores da tabela pelos índices. function SetarCor (playerSource, getMsg) local uVehicle = getPedOccupiedVehicle (playerSource) if (uVehicle) then local cores = split (getMsg, ',') local r = cores[1] or 0 local g = cores[2] or 0 local b = cores[3] or 0 setVehicleColor (uVehicle, r, g, b) iprint (r, g, b) end end addEvent ("SetarCor", true) addEventHandler ("SetarCor", root, SetarCor)
    1 point
×
×
  • Create New...