How to Not enable spawn, without registering
#10

try this
Код:
public OnPlayerRequestSpawn( playerid )
{
// DONT put anything here and try it 
	}
	return ( 1 );
}
Код:
public OnPlayerConnect( playerid )
{
 	if( GetPVarInt( playerid, "pLog" ) == 0 )
	{
		if( INI_Exist ( pName( playerid ) ) )
		{
			
SystemMsg( playerid, "This name is already registered. Please /login [password] to login." );
CallRemoteFunction("OnPlayerCommandText", "is", playerid, "/login");
		}
		else{
 SystemMsg( playerid, "This name is not registered. /register password for free $150,000!" );
CallRemoteFunction("OnPlayerCommandText", "is", playerid, "/register");
}
	}
	return ( 1 );
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)