marker =createMarker (2502.1999511719, -1459.9000244141, 22.89999961853, \"cylinder\", 3.2 , 255, 0, 0, 170)function(fixmark) local elementType = getElementType(\"fixvehicle\") fixVehicle ( vehicle theVehicle ) outputChatBox( elementType..\" Siker!\", getRootElement(), 255, 255, 0 )endaddEventHandler(\"onMarkerHit\",fixmark,marker)
Szevasztok! Ez a kód teljesen rossz vagy valamit átt kell rajta editelni? marker =createMarker (2502.1999511719, -1459.9000244141, 22.89999961853, \"cylinder\", 3.2 , 255, 0, 0, 170)function(fixmark) local elementType = getElementType(\"fixvehicle\") fixVehicle ( vehicle theVehicle ) outputChatBox( elementType..\" Siker!\", getRootElement(), 255, 255, 0 )endaddEventHandler(\"onMarkerHit\",fixmark,marker)
fixVehicle ( vehicle, theVehicle )
marker =createMarker (2502.1999511719, -1459.9000244141, 22.89999961853, \"cylinder\", 3.2 , 255, 0, 0, 170)function(fixmark) local elementType = getElementType(\"fixvehicle\") fixVehicle ( vehicle, theVehicle ) outputChatBox( elementType..\" Siker!\", getRootElement(), 255, 255, 0 )endaddEventHandler(\"onClientMarkerHit\",fixmark,marker)
marker =createMarker (2502.1999511719, -1459.9000244141, 22.89999961853, \"cylinder\", 3.2 , 255, 0, 0, 170)function(fixmark) local elementType = getElementType(\"fixvehicle\") fixVehicle ( vehicle, theVehicle ) outputChatBox( elementType..\" Siker!\", getRootElement(), 255, 255, 0 )endaddEventHandler(\"onClientMarkerHit\",fixmark,marker) Valamiért nem rakja le a markert nem tudod mi a megoldás?Vagy itt server és kliens oldal is kell?
marker = createMarker (2502.1999511719, -1459.9000244141, 22.89999961853, \"cylinder\", 3.2 , 255, 0, 0, 170)
marker = createMarker (2502.1999511719, -1459.9000244141, 22.89999961853, \"cylinder\", 3.2 , 255, 0, 0, 170)function fixmark (hitelement) if getElementType(hitelement) == \"vehicle\" then fixVehicle (hitelement) outputChatBox(getElementType(hitelement)..\" Siker!\", getRootElement(), 255, 255, 0 ) endendaddEventHandler(\"onMarkerHit\",marker, fixmark)