Jump to content

players doesnt spawn... wtf


therenex

Recommended Posts

Posted

The reason why they do not spawn is, that the function doSpawn() requires the argument "thePlayer".

By calling this function on player join, you do not supply that argument, and therefore the function doSpawn() doesn't know which player it has to spawn.

Posted

What's with the massive tables? You should be storing that data in a map file so that other resources can use your mode...

You shouldn't have a different function for each teleport, again these points could be stored in the map file so that users could easily add new ones.

Posted

adding the argument to the doSpawn function doesnt fix anything, it stills showing the gay black screen.

and about the teleports and tables, im making them sa-mp style, before learning more about lua, im starting with basics things.

this script worked, i dunno why is fuckd up now D:

dont think im a pro or something lol >.<

Posted

you need to un-fade the camera.. try this at the beginning of your spawn function:

fadeCamera(source,true) 

where 'source' is the player

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...