Jump to content

how to make an intro


Blaawee

Recommended Posts

Posted

hi guys , i see in some servers they have an intro for them server and i wana make it to how to start it ?

my gamemode is play and have random spawn point , so i don't know hot to make it work , can i have some help

Posted

This.

--RE-DISTRIBUTE NOT ALLOWED 

Blawee, he just wants you to learn to script by yourself, not base on community/other users' scripts and resources.

Don't act like he's idiot. He just tries to help and you give him your back.

Posted

If you wanna script a spawn place, do as i say :

Make any file of extension .lua

for ex - script.lua

then type this.

function joinHandler()

local x = (x position here.)

local y = (y position here.)

local z = (z position here.)

spawnPlayer(source,x,y,z)

fadeCamera(source, true)

setCameralTarget(source, source)

OutputChatBox("Welcome to my bla bla bla server", source)

end

addEventHandler("onPlayerJoin, getRootelement(), JoinHandler)

That's it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...