Jump to content

devil666

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by devil666

  1. see that is the thang i just started scripting and idk what wiki is
  2. it is /votekick o0o0o and that for that help but now im getting bad argument @ getPlayerFromNick
  3. Im having a problem with a Vote Kick Script i Made and i dose not give a Error or any thang it just dont kick people here is what i have! function KickPlayer ( Player ) username = getClientName ( Player ) if ( VoteKick ~= nil ) then executeCommandHandler ( VoteKick.. username ) end end addCommandHandler( "Kick", KickPlayer ) some one Please help Me please
  4. Im trying to make a restart function for a race where when someone hits the finish line it will count down from 20 then restart the race resource but idk what is wrong i have the count down working but i can get the restart resource to work someone please help me! here is what i have so far! function RestartRace (Restart) if (Restart > 0) then outputChatBox(tostring(Restart), getRootElement(), 255, 255, 255) setTimer(RestartRace, 1000, 1, Restart-1) else outputChatBox("Restarting Race Now!!!!", getRootElement(), 255, 255, 255) triggerServerEvent ( "aResource", getLocalPlayer(), "allgates", "restart" ) end end
  5. i want to know how to move a marker but i can't get it and i have tryed like 500 different way and none of them worked... but here is what i have so far! enter9 = createMarker ( -1148.4782, 345.7957, 13.6835, "cylinder", 30, 125, 0, 0, 155, getRootElement() ) function MarkerHit9 ( hitPlayer, matchingDimension ) username = getClientName ( hitPlayer ) outputChatBox ( username .. " Has Won The Race!" ) moveObject ( enter9, 2000, -1148.4782, 345.7957, 0 ) end addEventHandler("onMarkerHit", enter9, MarkerHit9)
  6. devil666

    race marker

    Here it is for when u hit the marker sorry it took me so long to get it.....0o0o0o0 and i still dont know how to stop it from saying it again when someone hits it after u enter3 = createMarker ( -1148.4782, 345.7957, 13.6835, "cylinder", 30, 125, 0, 0, 155, getRootElement() ) function MarkerHit ( player, hitPlayer, matchingDimension ) username = getClientName ( player ) outputChatBox ( username, player, 255, 0, 0 ) outputChatBox ( "Has Won The Race!", 255, 0, 0 ) end addEventHandler("onMarkerHit", enter3, MarkerHit)
×
×
  • Create New...