spawning
#4

Quote:

public OnPlayerRequestSpawn(playerid)

If you are requesting to be spawned then you have no position, move the code to "OnPlayerSpawn".

Also I'd just like to point out that you are going to be reading a file each time you request a spawn, this is very stupid (the method not you dude) and if you are going to use files then use buffers like I do in THIS script. I have a buffer in there which holds all the players data which is collected once from the file and then the buffer data is used instead of opening/reading/closing the file each time I want some data.
Reply


Messages In This Thread
spawning - by kLx - 10.02.2009, 18:28
Re: spawning - by Double-O-Seven - 10.02.2009, 18:30
Re: spawning - by kLx - 11.02.2009, 07:15
Re: spawning - by Donny_k - 11.02.2009, 07:35
Re: spawning - by kLx - 11.02.2009, 07:47

Forum Jump:


Users browsing this thread: 1 Guest(s)