Jump to content

Pulsarkk

Members
  • Posts

    7
  • Joined

  • Last visited

About Pulsarkk

  • Birthday 27/01/1993

Details

  • Gang
    i dk
  • Location
    India
  • Occupation
    student
  • Interests
    gaming

Pulsarkk's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. the below script shows the error Bad 'ped' pointer @ 'isPedInVehicle'(1) function blah ( player ) if isPedInVehicle(player) then toggleVehicleRespawn(theVehicle , false) end end addEventHandler("onResourceStart",getRootElement(),blah) help
  2. wow wow wow thanks guys and lordy u are great man
  3. i am beginner(not even a begineer lower than that) of scripting .i had written a script for warzone but its not working if it works with little changes it gives two or more times money i dont know what to do.. if u wish to help i ll be thank full please.... here is the script warRadar = createRadarArea ( 1475.358, -1668.3005 , 78 , 118, 255, 0, 0, 175 ) warShape = createColCuboid ( 1442.970, -1718.917, -14, 73.66 , 113.233 , 500 ) function onPlayerShapeHit ( thePlayer, matchingDimension ) if ( getElementType ( thePlayer ) == "player" ) then outputChatBox ( "You have entered War zone!", thePlayer, 255, 0, 0 ) setRadarAreaFlashing ( warRadar, true ) function giveMoney ( killer) if ( killer ) and ( killer ~= source ) then givemoney( killer ,5000 ) end end addEventHandler ( "onPlayerWasted",getRootElement() , giveMoney ) end end addEventHandler ( "onColShapeHit", warShape, onPlayerShapeHit ) function onPlayerShapeLeave ( thePlayer, matchingDimension ) if ( getElementType ( thePlayer ) == "player" ) then outputChatBox ( "You have leaved War zone!", thePlayer, 255, 0, 0 ) setRadarAreaFlashing ( warRadar, false ) end end addEventHandler ( "onColShapeLeave", warShape, onPlayerShapeLeave )
  4. sorry to spam local mg = createObject( 969, 1545, -1632, 12.5,0,0,90) local sg = createObject( 969, 1545, -1640, 12.5,0,0,90) local s2g = createObject( 969, 1545, -1624, 12.5,0,0,90) local marker = createMarker( 1545, -1627, 6.3, "cylinder", 12, 255, 255,255,0) local playerTeam = getPlayerTeam ( thePlayer ) local copTeam = getTeamName ( playerTeam ) gRoot = getRootElement () function MarkerHit ( hitPlayer, matchingDimension ) if ( copTeam == "Cop" ) then moveObject( mg, 1000, 1545, -1624, 12.5) end end addEventHandler ( "onMarkerHit", gRoot, MarkerHit ) function MarkerLeave ( leavePlayer, matchingDimension ) if ( copTeam == "Cop" ) then moveObject( mg, 1000, 1545, -1624, 12.5) end end addEventHandler ( "onMarkerLeave", gRoot, MarkerLeave ) this is the actual script it contains error it says Bad argument @ 'getPlayerTeam' -Line -5 Bad argument @ 'getTeamName' -Line -6
  5. thanks 50p i try it with other event..thanks for information im writing this script to open gates for cops team alone i have just check it with first outputBox
  6. i have doubt in following script the console says it contain following errors Bad 'player' pointer @ 'getPlayerTeam'(1) - Line:2 Bad 'argument @ 'getTeamName' - Line:3 help me i ll be thank ful
  7. if the script is for pay how much u needed
×
×
  • Create New...