Jump to content

Resmurf

Members
  • Posts

    77
  • Joined

  • Last visited

Everything posted by Resmurf

  1. nope i meant when the player join the server and they are 2 different scripts
  2. ok here is the problem when i get in marker it spawn one but if u get alot it creates alot of cars reaally fast idk why is that heres my cose local myMarker = createMarker( 1676.86, -2328, 12.54, 'cylinder', 2.0, 0, 0, 255, 150 ) function MarkerHit( hitElement, matchingDimension ) createVehicle ( 468, 1676.86, -2331.48, 13.54 + 1 ) end addEventHandler( "onMarkerHit", myMarker, MarkerHit ) and my other problem is when i spawn i want it to join a default team (civilians) but it ignores the command here the code function joinHandler() local x = 1686.04 local y = -2333.92 local z = 13.54 spawnPlayer(source, x, y, z) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox("Welcome to SALP:RPG", source) end addEventHandler("onPlayerJoin", getRootElement(), joinHandler) setPlayerTeam" class="kw6">setPlayerTeam" class="kw6">setPlayerTeam ( hitElement, teamcivilian)
×
×
  • Create New...