using mReg Filterscript and need spawn help. (not filterscript related.)
#1

Hi ladies & gents, i installed last night the mREGV0.7.3 |ADVANCED REGISTER SYSTEM (Link Here) its totally awesome!

and id like to know how to get rid of having to spawn like this (pic below) every time i log in as mREG saves player positions.


I'd like to spawn at my last position i was at before logout. mREG does this but, i have to put this in :

Code:
AddPlayerClass(0,1340.7422,-621.9026,109.1349,82.2364,0,0,0,0,0,0);
else the game flashes white when i click spawn and it says in red " stay in the world boundaries " .... =/

i'm still learning the PAWN language so please dont give me one word answers as they wont mean anything to me

i really hope someone can help.
Reply
#2

pawn Code:
public OnPlayerRequestClass(playerid, classid)
{
    SpawnPlayer(playerid);
    return 1;
}
It will now skip the skin choice screen.
Reply
#3

Quote:
Originally Posted by Stigg
View Post
pawn Code:
public OnPlayerRequestClass(playerid, classid)
{
    SpawnPlayer(playerid);
    return 1;
}
It will now skip the skin choice screen.
thanks for the quick reply that didnt have any effect though do you want me to post the gamecode ? and the filterscript would that help ? =/

EDIT: it appears to be the spawn location screen its stuck on but all you see is the background start up image and the image i posted above, i will post a small picture screenshot, 2 secs.

This is all that shows up:

Reply
#4

Just post the:
pawn Code:
public OnPlayerRequestClass(playerid, classid)
Callback.
Reply
#5

Code:
public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("EC-Gaming SAMP");
	DisableInteriorEnterExits();
 	AddPlayerClass(0,1340.7422,-621.9026,109.1349,82.2364,0,0,0,0,0,0); //
    return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    SpawnPlayer(playerid);
    return 1;
}
Reply
#6

Did you read the pm
Reply
#7

Quote:
Originally Posted by Stigg
View Post
Did you read the pm
replied now.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)