Jump to content

Crab

Members
  • Posts

    3
  • Joined

  • Last visited

Crab's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

1

Reputation

  1. I am made a Anti Zombi Area Code. This is working but i want to add 2 or more skin to have access join this area. if ( skin == 0) then this is working but if ( skin == 0, 257 ) not working or if { skin == 0, 257 ) not working. if i write 2 or more skin this section all skins get acces to join area. please help me... safecol = createColCuboid ( 95.974617004395, 1751.3895263672, 17.640625, 255, 255, 255 ) safeZoneRadar = createRadarArea ( 95.974617004395, 1751.3895263672, 255, 255, 255, 255, 255, 50 ) setElementData (safeZoneRadar, "zombieProof", true) function enterZone(hitPlayer,thePlayer) local skin = getElementModel (hitPlayer) if ( skin == 0) then toggleControl (hitPlayer, "fire", true ) toggleControl (hitPlayer, "aim_weapon", true) toggleControl (hitPlayer, "vehicle_fire", true) outputChatBox("You entering the area 69.", hitPlayer, 0, 255, 0) else killPed (hitPlayer) end end addEventHandler( "onColShapeHit", safecol, enterZone ) function leaveZone(hitPlayer,thePlayer) local skin = getElementModel (hitPlayer) toggleControl (hitPlayer, "fire", true) toggleControl (hitPlayer, "aim_weapon", true) toggleControl (hitPlayer, "vehicle_fire", true) outputChatBox("You out the area 69", hitPlayer, 255, 0, 0) if not ( skin == 0 ) then killPed (hitPlayer) end end addEventHandler( "onColShapeLeave", safecol, leaveZone )
  2. Someone Please Help Me. I am wrote a script about this topic. This definetly working but i want after the create object write into the chat /cam and remove this objects. Please help me. function consoleCreateObject ( thePlayer, commandName ) if ( thePlayer ) then local x, y, z = getElementPosition ( thePlayer ) -- get the player's position -- create a Object next to the player: local theObject1 = createObject ( 980, x + 2, y + 2, z, 0, 0, 0 ) local theObject2 = createObject ( 980, x + 3, y + 3, z, 0, 0, 0 ) local theObject3 = createObject ( 980, x + 4, y + 4, z, 0, 0, 0 ) local theObject4 = createObject ( 980, x + 5, y + 5, z, 0, 0, 0 ) end end end addCommandHandler ( "cab", consoleCreateObject )
×
×
  • Create New...