Jump to content

ghoussam94

Members
  • Posts

    3
  • Joined

  • Last visited

Details

  • Gang
    MIB

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ghoussam94'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)

0

Reputation

  1. Hey i have edited a one of my Event script to Make it for Zombie event ... The system is : Players sing up to the event and when it got 'EX:6players" The Zombie event started ... When the event started a random player of (6players) he changed to zombie ... the problem is i make function but it work only when i start the script & sometimes IDK why ! Here is it function beforeStartZombie() ddStarted = true sendToZombiePlayers(#evPlayers.." players have signed up for the Zombies event. The event will start in 10 seconds.", 255, 255, 0) addWastedHandler() setTimer(startZombie, 10000, 1) setTimer(setplrzom, 14000, 1) --- Set random player zombie end function startZombie() for index, player in pairs(evPlayers) do if (isElement(player)) then if (isPedInVehicle(player)) then removePedFromVehicle(player) end setElementDimension(player, zomDimension) setElementData(player, "Occupation", "Humans") exports.CSFteams:setPlayerTeam(player, "Humans") local model = exports.CSFclothes:getBoughtSkin(player) or 0 setElementModel(player, model) triggerClientEvent(player, "zomintSound", player) --------- check it out houssam setElementPosition(player, zomPos[index][1], zomPos[index][2], zomPos[index][3]) triggerClientEvent(player, "zomevent.startDD", player) end end ddTimer = setTimer(endDD, 1200000, 1) end function setplrzom( player ) local player = getElementsByType("player") local randomPlayer = player[math.random(1, #player)] if ( getTeamName( getPlayerTeam( randomPlayer ) ) == "Humans" ) then setElementModel(randomPlayer, 93) exports.CSFteams:setPlayerTeam(randomPlayer, "Zombies") setElementData(randomPlayer, "Occupation", "Zombie") giveWeapon(randomPlayer, 6, 1, true) outputChatBox("* ".. getPlayerName(randomPlayer) .." is now Zombie (UnderDeveloping)") sendToEvPlayers(getPlayerName(randomPlayer).." is now zombie!", 255, 255, 0) end end the Whole problem that i have is in " function setplrzom " i have copt only the important function here , if you need anything more you think it should help me i'll post it ... Thanks .
  2. Hello Again !!! There is a simple script with exports it's Cj Clothes Shop ! this is the script ( )
  3. This is a Cool Script i have made like C*T Server this medic job you can only go close of the player that you want to heal and h'll be healed and you gonna earn money to download this script For more scripts/resources enter here
×
×
  • Create New...