Arsilex Posted June 17, 2012 Posted June 17, 2012 Miren el GUI que estoy creando el de mecanicos Cuando me pongo unas llantas o un sopiler solo lo veo yo por que puede ser eso?
Castillo Posted June 17, 2012 Posted June 17, 2012 Porque es client side. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted June 17, 2012 Posted June 17, 2012 Si, y usar triggerServerEvent. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Arsilex Posted June 17, 2012 Author Posted June 17, 2012 si ya lo que pasa es que cuando pongo esto function Ruedaa3() player = localPlayer local price_wheels = 0 money = getPlayerMoney (source) if (money >= price_wheels) and getPedOccupiedVehicle(player) then takePlayerMoney(price_wheels) addVehicleUpgrade( getPedOccupiedVehicle(player), 1075 ) elseif not getPedOccupiedVehicle(player) then outputChatBox("You should be in a vehicle.", 255, 0, 0) end end EN server-side ya me da error
Edikosh998 Posted June 18, 2012 Posted June 18, 2012 No hay localPlayer en serverSide. Tenes que hacer un triggerServerEvent con localPlayer como "source". WRS( World Racing Server) [server] = 8%
Recommended Posts